/* =========================================================
   高佣联盟官方品牌网站样式表 (CSS3 响应式设计)
   科技感蓝紫渐变视觉系统：
   #5E3EF3 (蓝紫) → #9C3FE4 (紫色) → #DB42D3 (粉紫)
   主渐变：linear-gradient(45deg, #5E3EF3 0%, #9C3FE4 50%, #DB42D3 100%)
   ========================================================= */

:root {
    /* 核心科技感渐变色彩体系 */
    --primary-blue: #5E3EF3;
    --primary-purple: #9C3FE4;
    --primary-pink: #DB42D3;
    
    --primary-gradient: linear-gradient(45deg, #5E3EF3 0%, #9C3FE4 50%, #DB42D3 100%);
    --primary-gradient-alt: linear-gradient(135deg, #5E3EF3 0%, #DB42D3 100%);
    --primary-gradient-glow: linear-gradient(45deg, rgba(94, 62, 243, 0.35) 0%, rgba(156, 63, 228, 0.35) 50%, rgba(219, 66, 211, 0.35) 100%);
    
    /* 实体主色与次主色 */
    --primary-color: #7B3FF0;
    --primary-light: #9C3FE4;
    --primary-dark: #4B2CD6;
    
    /* 金黄辅助高光 (VIP/特权标识) */
    --gold-color: #FFB800;
    --gold-light: #FFE066;
    --gold-gradient: linear-gradient(135deg, #FFE066 0%, #FFAA00 100%);
    --gold-text: #8A4800;
    
    /* 文字排版色彩 */
    --text-primary: #18132B;
    --text-secondary: #564F6E;
    --text-muted: #8E86A8;
    --text-white: #FFFFFF;
    
    /* 页面背景与卡片系统 (干净、浅紫灰高级背景) */
    --bg-body: #F9F8FD;
    --bg-card: #FFFFFF;
    --bg-alt: #F3F0FA;
    --bg-light-purple: #F5F1FE;
    --bg-light-glow: rgba(156, 63, 228, 0.04);
    
    /* 边框与光晕 */
    --border-color: #EAE5F6;
    --border-purple: #DFD5F8;
    --border-glow: rgba(156, 63, 228, 0.28);
    
    /* 圆角 */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* 投影体系 (科技感紫粉色氛围光) */
    --shadow-sm: 0 2px 10px rgba(94, 62, 243, 0.05);
    --shadow-md: 0 8px 26px rgba(94, 62, 243, 0.08);
    --shadow-lg: 0 16px 40px rgba(94, 62, 243, 0.12);
    --shadow-primary: 0 10px 28px rgba(110, 62, 243, 0.35);
    --shadow-glow: 0 0 30px rgba(156, 63, 228, 0.25);
    
    /* 动效 */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ================= 基础重置 & 移动端绝对防溢出规则 ================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    position: relative;
    padding-bottom: 74px; /* 留出移动端底部浮条空间 */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

button, input {
    font-family: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.text-center {
    text-align: center;
}

/* 官方核心渐变文本 */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ================= 按钮与交互控件 ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #FFFFFF;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(156, 63, 228, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.88rem;
}

.btn-block {
    width: 100%;
}

/* ================= 顶部公告通知条 ================= */
.top-announcement {
    background: linear-gradient(90deg, #F3EEFE 0%, #FAF1FD 100%);
    border-bottom: 1px solid #E9DDF9;
    padding: 8px 0;
    font-size: 0.86rem;
    color: var(--primary-dark);
    position: relative;
    z-index: 101;
    overflow: hidden;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.announcement-badge {
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.72rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: var(--radius-xs);
    flex-shrink: 0;
}

.announcement-text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.announcement-text strong {
    color: var(--primary-purple);
    font-size: 0.96rem;
    background: #EFE8FC;
    padding: 1px 6px;
    border-radius: 4px;
}

.announcement-desktop {
    display: inline;
}

.announcement-mobile {
    display: none;
}

.btn-copy-mini-desktop {
    display: inline;
}

.btn-copy-mini-mobile {
    display: none;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-pink);
    box-shadow: 0 0 0 0 rgba(219, 66, 211, 0.7);
    animation: pulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(219, 66, 211, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(219, 66, 211, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(219, 66, 211, 0);
    }
}

.btn-copy-code-mini {
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.btn-copy-code-mini:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(156, 63, 228, 0.3);
}

/* ================= 顶部常驻浮动头部组合 (Fixed Header Group) ================= */
.header-sticky-group {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

.header-sticky-group.scrolled {
    box-shadow: 0 6px 24px rgba(94, 62, 243, 0.12);
}

.header-sticky-group.scrolled .top-announcement {
    padding: 5px 0;
}

/* 顶部固定定位的占位撑高层，保证主体内容不被顶部遮挡 */
.header-spacer {
    width: 100%;
    height: 108px;
    display: block;
}

@media (max-width: 1024px) {
    .header-spacer {
        height: 102px;
    }
}

@media (max-width: 768px) {
    .header-spacer {
        height: 98px;
    }
}

/* ================= 导航栏 Header ================= */
.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(234, 229, 246, 0.8);
    transition: all var(--transition-base);
}

.nav-container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 1280px;
    box-sizing: border-box;
    flex-wrap: nowrap !important;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(156, 63, 228, 0.35);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.site-nav {
    flex-shrink: 1;
    min-width: 0;
}

.site-nav .nav-list {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.3vw, 20px);
    white-space: nowrap;
    flex-wrap: nowrap !important;
}

.nav-link {
    font-size: clamp(0.86rem, 0.88vw, 0.94rem);
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 2px;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-purple);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-code-pill {
    display: inline-flex;
    align-items: center;
    background: var(--bg-light-purple);
    border: 1px dashed var(--primary-purple);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-code-pill:hover {
    background: #EFE8FD;
    transform: scale(1.02);
}

.pill-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-right: 4px;
    white-space: nowrap;
}

.pill-code {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--primary-purple);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pill-copy-tag {
    font-size: 0.65rem;
    background: var(--primary-gradient);
    color: #FFF;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 4px;
    font-weight: bold;
    white-space: nowrap;
}

.nav-download-btn {
    padding: 7px 16px;
    font-size: 0.85rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ================= 主视觉第一屏 Hero Section ================= */
.hero-section {
    position: relative;
    padding: 50px 0 60px;
    overflow: hidden !important;
    width: 100%;
    max-width: 100%;
    /* 优雅轻奢科技感渐变衬底 */
    background: radial-gradient(circle at 85% 15%, rgba(219, 66, 211, 0.12) 0%, transparent 45%),
                radial-gradient(circle at 15% 85%, rgba(94, 62, 243, 0.12) 0%, transparent 45%),
                linear-gradient(180deg, #FAF8FF 0%, #FFFFFF 100%);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden !important;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape-1 {
    width: 360px;
    height: 360px;
    background: rgba(94, 62, 243, 0.16);
    top: -60px;
    right: 0;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(219, 66, 211, 0.14);
    bottom: 20px;
    left: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hero-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light-purple);
    border: 1px solid var(--border-purple);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.hero-tag-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 16px;
    word-break: break-word;
    min-width: 0;
}

.hero-description {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 620px;
    word-break: break-word;
}

/* 官方专属特权邀请码核心卡片 (蓝紫科技感高光) */
.hero-invite-box {
    position: relative;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(45deg, #5E3EF3 0%, #9C3FE4 50%, #DB42D3 100%) border-box;
    box-shadow: 0 16px 36px rgba(110, 62, 243, 0.14);
    overflow: hidden !important;
    margin-bottom: 26px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-invite-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(110, 62, 243, 0.22);
}

.invite-box-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-gradient);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 4px 18px;
    border-bottom-left-radius: 12px;
    box-shadow: 0 2px 8px rgba(156, 63, 228, 0.3);
}

.invite-box-content {
    padding: 24px 26px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.invite-box-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.invite-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.code-display-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    min-width: 0;
}

.code-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2.5px;
    font-family: "SF Pro Display", -apple-system, sans-serif;
    line-height: 1;
}

.btn-copy {
    background: var(--primary-gradient);
    color: #FFF;
    padding: 11px 22px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-primary);
    transition: all var(--transition-fast);
}

.btn-copy:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 30px rgba(219, 66, 211, 0.4);
}

.btn-copy:active {
    transform: scale(0.98);
}

.copy-icon {
    width: 17px;
    height: 17px;
}

.invite-box-perks {
    background: #F8F5FE;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid #ECE3FB;
    min-width: 0;
}

.perk-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    word-break: break-word;
}

.perk-list li:last-child {
    margin-bottom: 0;
}

.perk-list li strong {
    color: var(--primary-purple);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.68rem;
    font-weight: bold;
    flex-shrink: 0;
}

.invite-box-footer {
    background: #F6F1FE;
    padding: 10px 24px;
    border-top: 1px dashed var(--border-purple);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    width: 100%;
    box-sizing: border-box;
}

.invite-box-footer strong {
    color: var(--primary-purple);
}

.tip-icon {
    font-size: 1rem;
}

/* CTA 按钮组 */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    min-width: 0;
}

.btn-hero-primary {
    background: var(--primary-gradient);
    color: #FFF;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-primary);
    transition: all var(--transition-base);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(156, 63, 228, 0.45);
}

.btn-hero-outline {
    background: #FFFFFF;
    color: var(--text-primary);
    border: 1.5px solid var(--border-purple);
    padding: 14px 26px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
}

.btn-hero-outline:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    background: #F8F5FE;
}

.btn-icon, .arrow-icon {
    width: 18px;
    height: 18px;
}

/* 实时动态滚屏 (修复白屏与溢出核心) */
.live-activity-bar {
    background: #FFFFFF;
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 540px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
    min-width: 0;
    overflow: hidden;
}

.activity-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.activity-ticker-container {
    height: 22px;
    overflow: hidden !important;
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
    clip-path: inset(0);
}

.activity-ticker {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    animation: scrollTicker 12s infinite;
}

.activity-ticker li {
    display: block;
    height: 22px;
    line-height: 22px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
}

.activity-ticker li strong {
    color: var(--primary-purple);
}

@keyframes scrollTicker {
    0%, 15% { transform: translateY(0); }
    20%, 35% { transform: translateY(-22px); }
    40%, 55% { transform: translateY(-44px); }
    60%, 75% { transform: translateY(-66px); }
    80%, 95% { transform: translateY(-88px); }
    100% { transform: translateY(0); }
}

/* ================= 右侧视觉模型展示 (PC 专属，手机端紧凑自适应) ================= */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.visual-card-wrapper {
    position: relative;
    width: 310px;
    max-width: 100%;
}

.phone-mockup {
    width: 300px;
    max-width: 100%;
    background: #140E26;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 60px -15px rgba(94, 62, 243, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    margin: 0 auto;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 18px;
    background: #140E26;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    background: #FAF8FE;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-screen-header {
    background: var(--primary-gradient);
    color: #FFF;
    padding: 16px 14px 14px;
}

.app-header-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    opacity: 0.95;
    margin-bottom: 10px;
}

.app-brand-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.app-title {
    font-size: 0.96rem;
    font-weight: 800;
}

.app-code-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #FFF;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 900;
}

.app-search-fake {
    background: #FFFFFF;
    color: #9AA1A9;
    padding: 8px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-screen-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-banner-card {
    background: linear-gradient(135deg, #F0E8FE 0%, #FBE9FC 100%);
    border: 1px solid #E3D2FA;
    padding: 12px;
    border-radius: var(--radius-md);
    text-align: center;
}

.banner-tag {
    display: inline-block;
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
}

.banner-title {
    font-size: 0.98rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 4px 0;
}

.banner-code {
    font-size: 0.75rem;
    color: #564F6E;
    font-weight: 700;
}

.banner-code strong {
    color: var(--primary-purple);
}

.app-quick-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 6px;
}

.app-qicon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    color: var(--text-secondary);
}

.q-emoji {
    font-size: 1.3rem;
}

.app-product-card {
    background: #FFF;
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
    border: 1px solid var(--border-purple);
}

.prod-img {
    width: 75px;
    height: 75px;
    background: #F4EFFD;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.prod-placeholder {
    font-size: 0.72rem;
    color: var(--primary-purple);
    font-weight: 700;
}

.coupon-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.62rem;
    text-align: center;
    padding: 2px 0;
    font-weight: bold;
}

.prod-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.prod-name {
    font-size: 0.78rem;
    font-weight: bold;
    line-height: 1.3;
    color: var(--text-primary);
}

.prod-prices {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-origin {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-now {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--primary-purple);
}

.prod-rebate {
    font-size: 0.7rem;
    color: #059669;
    background: #ECFDF5;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 浮动气泡 (PC大屏专属，手机端彻底移除) */
.floating-bubble {
    position: absolute;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(94, 62, 243, 0.14);
    border: 1px solid var(--border-purple);
    z-index: 5;
    animation: floatAnimation 4s ease-in-out infinite;
}

.bubble-1 {
    top: 50px;
    left: -35px;
    animation-delay: 0s;
}

.bubble-2 {
    bottom: 110px;
    right: -30px;
    animation-delay: 1.5s;
    background: #FDF9FF;
}

.bubble-3 {
    bottom: 20px;
    left: -30px;
    animation-delay: 2.5s;
}

.bubble-icon {
    font-size: 1.5rem;
}

.bubble-text {
    display: flex;
    flex-direction: column;
}

.bubble-text strong {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.bubble-text span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 平台核心数据看板 */
.hero-stats-wrap {
    margin-top: 45px;
    width: 100%;
}

.hero-stats-grid {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 26px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.stat-num {
    font-size: 1.9rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 6px;
    font-family: "SF Pro Display", -apple-system, sans-serif;
}

.stat-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ================= 通用 Section 样式 ================= */
.section {
    padding: 80px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.section-header {
    margin-bottom: 45px;
}

.sub-heading {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--bg-light-purple);
    border: 1px solid var(--border-purple);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

/* ================= 合作电商矩阵 ================= */
.partners-section {
    background: #FFFFFF;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.partner-card:hover {
    transform: translateY(-4px);
    background: #FFFFFF;
    border-color: var(--border-glow);
    box-shadow: 0 12px 30px rgba(94, 62, 243, 0.08);
}

.partner-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.partner-emoji {
    font-size: 1.8rem;
}

.tb-color { background: #FFF0E6; }
.jd-color { background: #FEE8E8; }
.pdd-color { background: #FDE8E8; }
.wph-color { background: #FCE7F3; }
.dy-color { background: #EEF2FF; }
.wm-color { background: #FEF9C3; }
.car-color { background: #E0F2FE; }
.life-color { background: #ECFDF5; }

.partner-name {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.partner-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

.partner-desc strong {
    color: var(--primary-purple);
}

.partner-tag {
    display: inline-block;
    background: var(--bg-light-purple);
    color: var(--primary-purple);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    align-self: flex-start;
}

/* ================= 平台核心优势 ================= */
.features-section {
    background: var(--bg-body);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 30px 22px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-glow);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #F0E9FD 0%, #FBEAFB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    margin-bottom: 22px;
}

.feat-svg {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-text strong {
    color: var(--primary-purple);
}

/* ================= 新手教程三步走 ================= */
.how-section {
    background: #FFFFFF;
}

.steps-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
}

.step-card {
    flex: 1;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: #FFF;
    border-color: var(--border-purple);
}

.step-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    align-self: flex-start;
    margin-bottom: 14px;
}

.step-icon-wrap {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.step-code-highlight {
    background: var(--bg-light-purple);
    border: 2px dashed var(--primary-purple);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 14px;
    transition: all var(--transition-fast);
}

.step-code-highlight:hover {
    background: #EDE4FC;
}

.sch-code {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-purple);
    letter-spacing: 2px;
}

.sch-btn {
    font-size: 0.8rem;
    background: var(--primary-gradient);
    color: #FFF;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: bold;
}

.step-visual-demo {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 14px;
}

.step-visual-demo.highlight {
    background: #F0FDF4;
    border-color: #BBF7D0;
}

.demo-tag {
    font-size: 0.72rem;
    background: #64748B;
    color: #FFF;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
}

.step-visual-demo.highlight .demo-tag {
    background: #10B981;
}

.demo-txt {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.step-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: auto;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #D3C9EC;
    font-weight: bold;
}

/* ================= 收益测算器 (交互模块) ================= */
.calc-section {
    background: var(--bg-body);
}

.calc-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-xl);
    padding: 46px;
    box-shadow: var(--shadow-lg);
}

.calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    margin-top: 32px;
}

.slider-group {
    background: var(--bg-body);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 18px;
    border: 1px solid var(--border-color);
}

.slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.slider-label-row label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.slider-val-tag {
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.95rem;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: var(--radius-full);
}

.custom-range {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #E5DEF4;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-purple);
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 10px rgba(94, 62, 243, 0.45);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.calc-tips-box {
    background: #FAF6FE;
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.ctb-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* 测算结果卡片 (深邃科技感暗紫) */
.calc-result-card {
    background: linear-gradient(145deg, #1A0E38 0%, #0E0620 100%);
    border: 1px solid rgba(156, 63, 228, 0.35);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    color: #FFFFFF;
    box-shadow: 0 20px 45px rgba(26, 14, 56, 0.4);
    position: relative;
    overflow: hidden;
}

.calc-result-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(219, 66, 211, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.crc-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 22px;
    color: #F8FAFC;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.crc-stat-block {
    margin-bottom: 18px;
}

.crc-label {
    display: block;
    font-size: 0.88rem;
    color: #D1D5DB;
    margin-bottom: 6px;
}

.crc-value-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.crc-currency {
    font-size: 1.3rem;
    color: var(--gold-light);
    font-weight: 800;
}

.crc-big-num {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--gold-light);
    font-family: "SF Pro Display", -apple-system, sans-serif;
    letter-spacing: -1px;
}

.crc-unit {
    font-size: 0.9rem;
    color: #CBD5E1;
    margin-left: 4px;
}

.crc-sub-desc {
    display: block;
    font-size: 0.78rem;
    color: #9CA3AF;
    margin-top: 4px;
}

.crc-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 16px 0;
}

.highlight-earning .crc-currency,
.highlight-earning .crc-big-num {
    color: #E27BF7;
}

.crc-footer-cta {
    margin-top: 22px;
}

.crc-invite-reminder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    margin-bottom: 12px;
    color: #E2E8F0;
}

.crc-code {
    color: var(--gold-light);
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
}

/* ================= 会员体系对比 (Levels) ================= */
.levels-section {
    background: #FFFFFF;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

.level-card {
    background: var(--bg-body);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 34px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-base);
}

.level-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.level-card.featured {
    background: #FFFFFF;
    border: 2px solid transparent;
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(45deg, #5E3EF3 0%, #9C3FE4 50%, #DB42D3 100%) border-box;
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
    z-index: 2;
}

.level-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.level-featured-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(156, 63, 228, 0.35);
}

.level-header {
    text-align: center;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.level-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    background: #EAE5F6;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.vip-badge {
    background: var(--bg-light-purple);
    color: var(--primary-purple);
}

.gold-badge {
    background: #FEF3C7;
    color: #B45309;
}

.level-name {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.level-condition {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.level-condition strong {
    color: var(--primary-purple);
}

.level-rate {
    background: #F8FAFC;
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    margin-bottom: 22px;
}

.level-card.featured .level-rate {
    background: var(--bg-light-purple);
}

.rate-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.rate-val {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-primary);
}

.rate-val.highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.level-features {
    margin-bottom: 24px;
    flex: 1;
}

.level-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.li-icon {
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.li-icon.ok { color: #10B981; }
.li-icon.no { color: #CBD5E1; }

.text-muted {
    color: #94A3B8;
}

.level-footer {
    text-align: center;
    margin-top: auto;
}

.level-tip {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ================= 真实合伙人故事 ================= */
.stories-section {
    background: var(--bg-body);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.story-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-purple);
}

.story-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.user-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: var(--bg-light-purple);
}

.avatar-1 { background: #F2E9FD; }
.avatar-2 { background: #EAE3FC; }
.avatar-3 { background: #FCECFB; }

.user-name {
    font-size: 1rem;
    font-weight: 800;
}

.user-tag {
    font-size: 0.75rem;
    color: var(--primary-purple);
    background: var(--bg-light-purple);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.story-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.story-content strong {
    color: var(--primary-purple);
}

.story-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.story-data {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.story-data strong {
    color: var(--primary-purple);
    font-size: 1.05rem;
}

/* ================= 常见问题 FAQ 手风琴 ================= */
.faq-section {
    background: #FFFFFF;
}

.faq-accordion-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item.active {
    border-color: var(--border-purple);
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(94, 62, 243, 0.08);
}

.faq-question {
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
}

.faq-q-text {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-primary);
    padding-right: 14px;
}

.faq-chevron {
    width: 12px;
    height: 12px;
    border-right: 2.5px solid var(--text-muted);
    border-bottom: 2.5px solid var(--text-muted);
    transform: rotate(45deg);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(-135deg);
    border-color: var(--primary-purple);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 600px;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
    padding: 0 22px 14px;
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer ul {
    padding: 0 22px 18px 40px;
    list-style-type: disc;
}

.faq-answer li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 6px;
}

.faq-answer strong {
    color: var(--primary-purple);
}

/* ================= 官方 APP 下载区 (Download) ================= */
.download-section {
    background: var(--bg-body);
}

.download-card {
    background: linear-gradient(145deg, #170C33 0%, #0D061E 100%);
    border: 1px solid rgba(156, 63, 228, 0.35);
    border-radius: var(--radius-xl);
    padding: 55px 45px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden !important;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 40px;
    align-items: center;
    box-shadow: 0 25px 60px rgba(18, 9, 41, 0.45);
}

.download-bg-circle {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(219, 66, 211, 0.25) 0%, transparent 70%);
    top: -100px;
    right: 0;
    pointer-events: none;
}

.download-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.download-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 12px;
}

.download-subtitle {
    font-size: 1.05rem;
    color: #D1D5DB;
    margin-bottom: 24px;
}

.highlight-code {
    color: var(--gold-light);
    font-weight: 900;
    background: rgba(255, 183, 3, 0.18);
    padding: 2px 8px;
    border-radius: 4px;
}

.download-steps-mini {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}

.dsm-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: #E2E8F0;
}

.dsm-num {
    width: 22px;
    height: 22px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: #FFF;
    flex-shrink: 0;
}

.download-code-block {
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed var(--gold-light);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    margin-bottom: 26px;
    display: inline-block;
}

.dcb-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dcb-label {
    font-size: 0.95rem;
    color: #E2E8F0;
}

.dcb-code {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold-light);
    letter-spacing: 2px;
}

.dcb-copy-btn {
    padding: 6px 16px;
    font-size: 0.82rem;
}

.dcb-tip {
    display: block;
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-top: 4px;
}

.download-buttons-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-app-dl {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    color: #FFFFFF;
    transition: all var(--transition-base);
}

.btn-app-dl:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.app-dl-svg {
    width: 28px;
    height: 28px;
}

.btn-dl-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dl-sub {
    font-size: 0.68rem;
    color: #9CA3AF;
}

.dl-main {
    font-size: 0.92rem;
    font-weight: 800;
}

.download-qr-side {
    display: flex;
    justify-content: center;
}

.qr-frame {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 22px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    width: 210px;
}

.qr-canvas-mock {
    width: 160px;
    height: 160px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--border-purple);
    padding: 6px;
}

.qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.qr-text {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.qr-code-pill {
    background: var(--bg-light-purple);
    color: var(--primary-dark);
    font-size: 0.74rem;
    padding: 3px 8px;
    border-radius: var(--radius-xs);
}

.qr-code-pill strong {
    font-size: 0.88rem;
    color: var(--primary-purple);
}

/* ================= 页脚 Footer ================= */
.site-footer {
    background: #0E071F;
    color: #9AA1A9;
    padding: 65px 0 28px;
    border-top: 1px solid rgba(156, 63, 228, 0.2);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 45px;
}

.fl-title {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.fl-tag {
    font-size: 0.78rem;
    color: var(--primary-purple);
    font-weight: 700;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 14px 0 18px;
    color: #9AA1A9;
}

.footer-code-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    background: #1C1236;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    border: 1px solid rgba(156, 63, 228, 0.3);
}

.fc-code {
    color: var(--gold-light);
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
}

.fc-btn {
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.72rem;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.footer-col-title {
    font-size: 1rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 18px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: #9AA1A9;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-pink);
}

.footer-contact-item {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-contact-item strong {
    color: var(--gold-light);
}

.footer-contact-tip {
    font-size: 0.8rem;
    color: #6B7280;
    line-height: 1.5;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 26px;
    text-align: center;
}

.copyright-text {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 8px;
}

.copyright-text a {
    color: #9AA1A9;
}

.copyright-text a:hover {
    color: var(--primary-purple);
}

.disclaimer-text {
    font-size: 0.75rem;
    color: #4B5563;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ================= 移动端吸底快捷操作栏 ================= */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-purple);
    padding: 8px 14px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 99;
    box-shadow: 0 -4px 18px rgba(94, 62, 243, 0.1);
    display: none;
    width: 100%;
}

.msb-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.msb-code-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-light-purple);
    border: 1px solid var(--border-purple);
    padding: 7px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    flex: 1;
    overflow: hidden;
}

.msb-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.msb-code {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary-purple);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.msb-copy-badge {
    font-size: 0.65rem;
    background: var(--primary-gradient);
    color: #FFF;
    padding: 2px 7px;
    border-radius: 6px;
    margin-left: auto;
    font-weight: bold;
    white-space: nowrap;
}

.msb-dl-btn {
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ================= 返回顶部按钮 ================= */
.btn-back-to-top {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--text-primary);
    border: 1px solid var(--border-purple);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover {
    background: var(--primary-gradient);
    color: #FFF;
    border-color: transparent;
    transform: translateY(-3px);
}

.btn-back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ================= 复制成功 Toast 弹窗 (精美圆角卡片，杜绝椭圆变形) ================= */
.toast-notification {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #241348 0%, #120726 100%);
    border: 1px solid rgba(156, 63, 228, 0.5);
    color: #FFFFFF;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 12px 35px rgba(24, 11, 51, 0.55), 0 0 20px rgba(156, 63, 228, 0.35);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: min(380px, 92vw);
    width: max-content;
    box-sizing: border-box;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-text-wrap {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.toast-desc {
    font-size: 0.82rem;
    color: #D1D5DB;
    line-height: 1.45;
}

.toast-desc strong {
    color: var(--gold-light);
    background: rgba(255, 183, 3, 0.2);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 900;
}

/* ================= 扫码下载模态弹窗 Modal ================= */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 7, 31, 0.7);
    backdrop-filter: blur(6px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 360px;
    padding: 30px 24px;
    position: relative;
    box-shadow: 0 25px 60px rgba(24, 11, 51, 0.4);
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.modal-backdrop.open .modal-dialog {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 1.8rem;
    color: var(--text-muted);
    background: transparent;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.modal-qr-box {
    width: 180px;
    height: 180px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--border-purple);
    padding: 8px;
    box-shadow: 0 4px 16px rgba(94, 62, 243, 0.1);
}

.qr-img-modal {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.modal-code-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-light-purple);
    border: 1px solid var(--border-purple);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    margin-bottom: 12px;
    white-space: nowrap !important;
    flex-wrap: nowrap;
}

.mcb-code {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-purple);
}

.btn-copy-mini {
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.modal-tip {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ================= 严格响应式与零溢出适配 (Mobile Zero-Overflow System) ================= */

/* 中等屏与平板 (<= 1100px) */
@media (max-width: 1100px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calc-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* 小平板与手机 (<= 992px - 核心防溢出处理) */
@media (max-width: 992px) {
    /* 彻底消除所有引起横向滚动的浮动装饰物 */
    .floating-bubble {
        display: none !important;
    }

    .shape-1 {
        right: 0 !important;
    }

    .shape-2 {
        left: 0 !important;
    }

    .download-bg-circle {
        right: 0 !important;
        width: 280px !important;
        height: 280px !important;
    }

    /* 将 Grid 转为 Block，消除 CSS Grid 的 min-content 自动撑开溢出 Bug */
    .hero-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
    }
    
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto;
    }
    
    .hero-description {
        margin: 0 auto 24px;
    }
    
    .hero-tag-pill {
        margin: 0 auto 16px;
    }
    
    .hero-invite-box {
        text-align: left;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-cta-group {
        justify-content: center;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .live-activity-bar {
        margin: 0 auto;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* 手机端无需呈现庞大的模拟机壳，做紧凑隐藏/轻量化，让首屏一览无余 */
    .hero-visual {
        display: none !important;
    }

    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        padding: 10px 0;
    }
    
    .levels-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .level-card.featured {
        transform: none;
    }
    
    .level-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
    
    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 24px;
    }
    
    .download-steps-mini {
        justify-content: center;
    }
    
    .download-buttons-group {
        justify-content: center;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2) {
        border-right: none;
    }
    
    .stat-item:nth-child(1), .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 14px;
    }
}

/* 平板与中等屏幕 (<= 1180px) 导航精简，彻底杜绝换行 */
@media (max-width: 1180px) {
    .nav-code-pill .pill-label {
        display: none !important;
    }
    .site-nav .nav-list {
        gap: 12px !important;
    }
    .nav-container {
        gap: 8px !important;
    }
}

/* 平板与大屏移动端 (<= 1024px) 切换为汉堡侧滑菜单，确保单行无换行 */
@media (max-width: 1024px) {
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: 99;
    }
    
    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .site-nav .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .nav-actions .nav-code-pill {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex !important;
    }
    
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }
}

/* 手机竖屏 (<= 768px - 解决首屏溢出核心) */
@media (max-width: 768px) {
    /* 容器边距 */
    .container {
        padding: 0 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 顶部公告条自适应 (彻底消除截断与省略号) */
    .top-announcement {
        font-size: 0.78rem;
        padding: 6px 0;
    }

    .announcement-inner {
        gap: 8px !important;
    }

    .announcement-desktop {
        display: none !important;
    }

    .announcement-mobile {
        display: inline !important;
    }

    .btn-copy-mini-desktop {
        display: none !important;
    }

    .btn-copy-mini-mobile {
        display: inline !important;
    }

    .announcement-text {
        white-space: normal;
        display: block;
        line-height: 1.4;
        overflow: visible;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        flex: 1;
        min-width: 0;
    }

    .btn-copy-code-mini {
        display: inline-flex !important;
        padding: 3px 8px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
        flex-shrink: 0;
        border-radius: 6px;
    }

    .nav-actions .nav-download-btn {
        display: none;
    }
    
    /* 首屏排版重构：消除横向溢出 */
    .hero-section {
        padding: 28px 0 36px;
    }

    .hero-title {
        font-size: clamp(1.65rem, 6.2vw, 2.1rem);
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }
    
    /* 核心邀请码卡片单列适配 */
    .hero-invite-box {
        margin-bottom: 20px;
    }

    .invite-box-ribbon {
        font-size: 0.7rem;
        padding: 3px 12px;
    }

    .invite-box-content {
        grid-template-columns: 1fr !important;
        padding: 20px 16px 16px;
        gap: 16px;
        width: 100%;
    }
    
    .invite-label {
        font-size: 0.82rem;
        text-align: center;
    }

    .code-display-wrap {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .code-number {
        font-size: 2.2rem;
        letter-spacing: 2px;
        text-align: center;
    }

    .btn-copy {
        width: 100% !important;
        justify-content: center;
        padding: 12px 18px;
        font-size: 0.92rem;
    }

    .invite-box-perks {
        padding: 12px 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .invite-box-footer {
        padding: 8px 14px;
        font-size: 0.78rem;
    }
    
    /* 按钮全宽触控友好 */
    .hero-cta-group {
        flex-direction: column;
        width: 100% !important;
        gap: 12px;
    }
    
    .btn-hero-primary, .btn-hero-outline {
        width: 100% !important;
        justify-content: center;
        padding: 13px 20px;
        font-size: 0.95rem;
    }

    /* 动态通知栏内部截断 */
    .live-activity-bar {
        padding: 8px 14px;
    }

    .activity-ticker-container {
        width: 100%;
        min-width: 0;
    }

    .activity-ticker li {
        font-size: 0.78rem;
        max-width: 100%;
    }

    .hero-stats-wrap {
        margin-top: 24px;
    }

    .hero-stats-grid {
        padding: 16px 10px;
        gap: 12px;
    }

    .stat-num {
        font-size: 1.45rem;
    }

    .stat-desc {
        font-size: 0.75rem;
    }

    /* 各板块移动端网格优化 */
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .section-subtitle {
        font-size: 0.88rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .partner-card {
        padding: 16px 14px;
    }

    .partner-name {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .calc-wrapper {
        padding: 20px 14px;
        border-radius: var(--radius-lg);
    }

    .slider-group {
        padding: 16px 12px;
    }

    .calc-result-card {
        padding: 24px 18px;
    }

    .crc-big-num {
        font-size: 1.9rem;
    }

    .download-card {
        padding: 30px 16px;
    }

    .download-title {
        font-size: 1.6rem;
    }

    .download-code-block {
        width: 100%;
        padding: 10px 14px;
    }

    .dcb-inner {
        justify-content: space-between;
    }

    .dcb-code {
        font-size: 1.4rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    
    /* 移动端吸底条显示 */
    .mobile-sticky-bar {
        display: block;
    }
    
    .btn-back-to-top {
        bottom: 74px;
        right: 14px;
        width: 40px;
        height: 40px;
    }
}

/* 超窄屏手机 (<= 380px，如 iPhone SE) */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.55rem;
    }

    .code-number {
        font-size: 1.85rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 12px;
    }

    .download-steps-mini {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .msb-code-box {
        padding: 6px 8px;
    }

    .msb-code {
        font-size: 1.05rem;
    }

    .msb-dl-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* 尊重用户的减少动态偏好，降低移动端动画与滚动开销 */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================= 视频教学专属页面 & 首页视频卡片样式 ================= */
.tutorial-hero-section {
    padding: 60px 0 35px;
    background: radial-gradient(circle at 50% 0%, rgba(156, 63, 228, 0.12) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-color);
}

.tutorial-vip-reminder {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid var(--border-purple);
    border-radius: 14px;
    padding: 12px 24px;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    box-sizing: border-box;
}

.tvr-main-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.tvr-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.tvr-code {
    font-size: 1.35rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    white-space: nowrap;
}

.btn-copy-tvr {
    padding: 6px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.tvr-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

/* 沉浸式主播放器 */
.tutorial-player-section {
    padding: 40px 0 20px;
}

.cinema-player-card {
    background: linear-gradient(145deg, #180D35 0%, #0D061E 100%);
    border: 1px solid rgba(156, 63, 228, 0.35);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: 0 25px 60px rgba(18, 9, 41, 0.45);
    overflow: hidden;
}

.cinema-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cinema-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    outline: none;
}

.cinema-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.cinema-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.cinema-badge {
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.cinema-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cinema-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cinema-code-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 224, 102, 0.45);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    color: #E2E8F0;
    cursor: pointer;
    white-space: nowrap !important;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.cinema-code-chip:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--gold-light);
}

.cinema-code-chip span {
    white-space: nowrap;
}

.cinema-code-chip strong {
    color: var(--gold-light);
    font-size: 1.05rem;
    white-space: nowrap;
}

.chip-copy {
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: bold;
    white-space: nowrap;
}

/* 课程分类 Tabs */
.tutorial-tab-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.tutorial-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-color);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.tutorial-tab-btn:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: translateY(-2px);
}

.tutorial-tab-btn.active {
    background: var(--primary-gradient);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.ttb-count {
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
    font-size: 0.76rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 800;
}

.tutorial-tab-btn.active .ttb-count {
    background: rgba(255, 255, 255, 0.25);
    color: #FFF;
}

/* 选集展示内容 */
.tutorial-tab-pane {
    display: none;
    animation: fadeIn 0.35s ease;
}

.tutorial-tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.tutorial-video-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.tutorial-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(94, 62, 243, 0.14);
    border-color: var(--border-glow);
}

.tutorial-video-card.playing {
    border: 2px solid var(--primary-purple);
    box-shadow: 0 0 20px rgba(156, 63, 228, 0.35);
}

.tvc-cover-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1A132B;
    overflow: hidden;
}

.tvc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tutorial-video-card:hover .tvc-img {
    transform: scale(1.05);
}

.tvc-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 10, 40, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.tutorial-video-card:hover .tvc-play-overlay {
    background: rgba(20, 10, 40, 0.1);
}

.tvc-play-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-fast);
}

.tutorial-video-card:hover .tvc-play-icon {
    transform: scale(1.15);
}

.tvc-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(14, 7, 31, 0.75);
    backdrop-filter: blur(4px);
    color: #FFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.tvc-info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.tvc-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tvc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #F3EEFA;
    padding-top: 10px;
}

.tvc-tag {
    font-size: 0.72rem;
    color: var(--primary-purple);
    background: var(--bg-light-purple);
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
}

.tvc-action-btn {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary-purple);
    transition: color var(--transition-fast);
}

.tutorial-video-card:hover .tvc-action-btn {
    color: var(--primary-pink);
}

/* 首页精美视频入口推荐卡片 (Home Video Entry Card) */
.home-video-banner-card {
    background: linear-gradient(135deg, #180D35 0%, #2A1456 50%, #15092E 100%);
    border: 1px solid rgba(156, 63, 228, 0.35);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    color: #FFFFFF;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 20px 45px rgba(24, 13, 53, 0.25);
    position: relative;
    overflow: hidden;
}

.home-video-banner-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(219, 66, 211, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.hvb-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.hvb-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hvb-desc {
    font-size: 0.95rem;
    color: #D1D5DB;
    line-height: 1.6;
    margin-bottom: 22px;
}

.hvb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    font-size: 1rem;
    font-weight: 800;
}

.hvb-right {
    display: flex;
    justify-content: center;
}

.hvb-preview-box {
    position: relative;
    width: 100%;
    max-width: 290px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hvb-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hvb-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hvb-badge-pill {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #FFF;
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 4px;
}

/* 响应式断点 (Tutorial & Video Banner) */
@media (max-width: 1100px) {
    .tutorial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .home-video-banner-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
    }
    .hvb-right {
        margin-top: 10px;
    }
    .tutorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cinema-player-card {
        padding: 16px;
    }
}

@media (max-width: 600px) {
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
    .cinema-controls-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cinema-actions {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .cinema-code-chip {
        padding: 5px 10px;
        font-size: 0.78rem;
    }
    .cinema-dl-btn {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }
    .tutorial-vip-reminder {
        padding: 10px 12px;
        width: 100%;
    }
    .tvr-main-row {
        justify-content: space-between;
    }
    .tvr-label {
        font-size: 0.82rem;
    }
    .tvr-code {
        font-size: 1.25rem;
    }
    .btn-copy-tvr {
        padding: 5px 12px;
        font-size: 0.78rem;
    }
    .tutorial-tab-nav {
        gap: 8px;
    }
    .tutorial-tab-btn {
        padding: 8px 16px;
        font-size: 0.88rem;
    }
}
