/* ── BANNER ── */
.banner {
    position: relative;
    background: #06060e;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #fff;
}

/* 场景底图（右下渐显） */
.banner-scene {
    position: absolute;
    inset: 0;
    background: url('../assets/images/scene7.png') center center / cover no-repeat;
    opacity: 0.35;
    filter: grayscale(20%);
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom right, transparent 10%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.6) 75%, rgba(0,0,0,0.85) 100%);
    mask-image: linear-gradient(to bottom right, transparent 10%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.6) 75%, rgba(0,0,0,0.85) 100%);
}

/* 网格背景 */
.banner-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse at 55% 40%, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 55% 40%, black 20%, transparent 70%);
    pointer-events: none;
}

/* 光晕装饰 */
.banner-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}
.banner-glow-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(245,166,35,0.18), transparent 65%);
    top: -120px; right: 0;
}
.banner-glow-2 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(80,50,200,0.14), transparent 65%);
    bottom: 0; left: -80px;
}

/* 主体区域 - 左右分栏 */
.banner-body {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 155px 0 155px;
    position: relative;
    z-index: 2;
    width: 96%;
    max-width: 1400px;
}

/* ── 左侧文案 ── */
.banner-left { flex: 1; min-width: 0; }

.banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,166,35,0.1);
    border: 1px solid rgba(245,166,35,0.32);
    color: #f5a623;
    font-size: 13px;
    padding: 5px 14px 5px 10px;
    border-radius: 20px;
    margin-bottom: 36px;
    letter-spacing: 0.3px;
}
.banner-tag-dot {
    width: 7px; height: 7px;
    background: #f5a623;
    border-radius: 50%;
    flex-shrink: 0;
    animation: tagPulse 2.2s ease-in-out infinite;
}
@keyframes tagPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(245,166,35,0.4); }
    50% { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 4px rgba(245,166,35,0); }
}

.banner h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.28;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    color: #fff;
}
.banner h1 span {
    background: linear-gradient(90deg, #f5a623 0%, #ffd166 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-desc {
    font-size: 17px;
    color: #ddd;
    margin-bottom: 16px;
    font-weight: 500;
}
.banner-sub {
    font-size: 14px;
    color: #777;
    line-height: 2.1;
    margin-bottom: 44px;
}

.banner-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── 右侧区域 ── */
.banner-right {
    flex-shrink: 0;
    width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-cta-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
    width: 100%;
}

/* 品牌文字 */
.banner-cta-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.banner-cta-brand .logo-text {
    font-size: 68px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.1;
}
.banner-cta-brand .logo-tagline {
    font-size: 14px;
    color: #f5a623;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* 按钮组 */
.banner-btns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    width: 100%;
}
.banner-btns .btn,
.banner-btns .btn-outline {
    flex: none;
    text-align: center;
    padding: 13px 24px;
    font-size: 15px;
    border-radius: 10px;
}

/* ── 数据徽章组 ── */
.banner-badges {
    display: flex;
    gap: 10px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.banner-badge {
    flex: none;
    width: 230px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid #f5a623;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background .2s, border-color .2s, transform .2s;
}
.banner-badge:hover {
    background: rgba(245,166,35,0.07);
    border-left-color: #ffcc66;
    transform: translateY(-2px);
}
.banner-badge strong { color: #f5a623; font-size: 22px; font-weight: 700; line-height: 1; }
.banner-badge span { color: #999; font-size: 13px; letter-spacing: 0.3px; }

/* ── 响应式 ── */

/* 平板横屏 / 小笔记本 */
@media (max-width: 1024px) {
    .banner-body { padding: 110px 0 110px; gap: 40px; }
    .banner-right { width: 380px; }
    .banner h1 { font-size: 44px; }
    .banner-cta-brand .logo-text { font-size: 54px; }
    .banner-badge { width: 200px; }
}

/* 平板竖屏 / 大屏手机横屏 */
@media (max-width: 820px) {
    .banner-body { flex-direction: column; padding: 80px 0 60px; gap: 32px; }
    .banner-right { width: 100%; }
    .banner-cta-panel { gap: 28px; }
    .banner-cta-brand .logo-text { font-size: 56px; }
    .banner-badge { width: auto; flex: 1; min-width: 160px; }
}

/* 手机（≤768px）：文案居中，隐藏徽章和品牌文字 */
@media (max-width: 768px) {
    .banner-body { flex-direction: column; padding: 56px 0 40px; gap: 24px; }
    .banner-right { width: 100%; }
    .banner-cta-panel { align-items: center; gap: 0; }
    .banner-cta-badges { flex-direction: row; flex-wrap: wrap; }
    .banner-badge { flex: 1; min-width: 120px; }
    .banner h1 { font-size: 32px; }
    .banner-stats { flex-wrap: wrap; gap: 0; }
    .banner-stat { min-width: 50%; padding: 12px 8px; }
    .banner-stat-divider { display: none; }

    /* ① 文案居中 */
    .banner-left { text-align: center; }
    .banner-tag { display: inline-flex; }
    .banner-btns { justify-content: center; }

    /* ② 隐藏徽章和右侧品牌文字 */
    .banner-badges { display: none; }
    .banner-cta-brand { display: none; }
}

/* 手机竖屏（中等） */
@media (max-width: 600px) {
    .banner-body { padding: 50px 0 38px; gap: 20px; }
    .banner h1 { font-size: 26px; }
    .banner-desc { font-size: 15px; margin-bottom: 10px; }
    .banner-sub { font-size: 13px; margin-bottom: 0; }
    .banner-cta-panel { gap: 0; }
    /* 右侧面板隐藏品牌后仅保留按钮，按钮居中 */
    .banner-right { display: flex; justify-content: center; }
    .banner-btns { flex-direction: row; gap: 10px; }
}

/* 主流 iPhone（390px）/ 常见安卓（360px） */
@media (max-width: 390px) {
    .banner h1 { font-size: 22px; letter-spacing: -0.3px; }
    .banner-desc { font-size: 14px; }
    .banner-btns .btn,
    .banner-btns .btn-outline { padding: 11px 16px; font-size: 14px; }
    .banner-cta-brand .logo-text { font-size: 36px; }
    .banner-tag { font-size: 12px; }
}
