


/* ===== App Hero Module ===== */
.module-app-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.module-app-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 1;
}

.module-app-hero .container {
    position: relative;
    z-index: 2;
}

.app-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Content Side */
.app-hero-content {
    max-width: 600px;
}

.app-hero-content .hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: inherit;
    letter-spacing: -0.02em;
}

.app-hero-content .hero-desc {
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 180px;
}

.app-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.app-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-btn-icon svg,
.app-btn-icon i {
    width: 28px;
    height: 28px;
    font-size: 28px;
}

.app-btn-icon svg {
    fill: currentColor;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-btn-text .btn-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.app-btn-text .btn-main {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Button Styles */
.app-btn.style-light {
    background: #fff;
    color: #0f172a;
}

.app-btn.style-light:hover {
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.app-btn.style-dark {
    background: #0f172a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-btn.style-dark:hover {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4);
    background: #1e293b;
}

.app-btn.style-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.app-btn.style-outline:hover {
    background: #fff;
    color: #0f172a;
    border-color: #fff;
}

/* QR Card */
.hero-qr-card {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 450px;
}

.qr-card-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qr-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
}

.qr-text-wrap {
    display: flex;
    flex-direction: column;
}

.qr-sub {
    font-size: 0.7rem;
    opacity: 0.7;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.qr-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 2px;
    color: #fff;
}

.qr-desc {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

.qr-code-img {
    width: 80px;
    height: 80px;
    background: #fff;
    padding: 4px;
    border-radius: 12px;
    flex-shrink: 0;
}

.qr-code-img img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Media Side */
.app-hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.media-wrapper {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

.media-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.device-mockup {
    position: relative;
    z-index: 2;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: heroFloat 6s ease-in-out infinite;
}

.device-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.device-mockup img,
.device-mockup video {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: heroFloat 5s ease-in-out infinite reverse;
}

/* Animations */
@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) rotateY(-10deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-10deg);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .app-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .app-hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-qr-card {
        margin: 0 auto;
        text-align: left;
    }

    .app-hero-media {
        margin-top: 20px;
    }

    .device-mockup {
        transform: none;
        /* Simplify on mobile */
        animation: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem !important;
    }

    .app-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-qr-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .qr-card-info {
        flex-direction: column;
    }

    .qr-text-wrap {
        align-items: center;
    }
}

/* Dark Mode Adaptation - If module has no background set (transparent), adapt text */
html.dark-mode .module-app-hero:not([style*='background']) .hero-title,
html.dark-mode .module-app-hero:not([style*='background']) .hero-desc {
    color: #fff;
    /* Keep white if hero is usually dark, or adapt */
}

/* Note: usually Hero sections have their own backgrounds, so text color inherits from that. 
   The default style assumes a dark/gradient background with white text. */

/* Floating Badges (App Hero) */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px 16px;
    border-radius: 16px;
    /* Squircle */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 5;
    min-width: 140px;
    transition: transform 0.3s ease;
    animation: floatBadge 4s ease-in-out infinite;
}

.floating-badge .float-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    flex-shrink: 0;
}

.floating-badge .float-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    /* Reset hero img shadow */
}

.floating-badge .float-text {
    display: flex;
    flex-direction: column;
}

.floating-badge .float-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.floating-badge .float-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

/* Positions */
.floating-badge.pos-top-left {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.floating-badge.pos-top-right {
    top: 15%;
    right: -20px;
    animation-delay: 1.5s;
}

.floating-badge.pos-center-left {
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
    animation: floatBadgeVertical 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.floating-badge.pos-center-right {
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    animation: floatBadgeVertical 5s ease-in-out infinite;
    animation-delay: 2s;
}

.floating-badge.pos-bottom-left {
    bottom: 20%;
    left: -10px;
    animation-delay: 1s;
}

.floating-badge.pos-bottom-right {
    bottom: 25%;
    right: -30px;
    animation-delay: 2.5s;
}

/* Specific Badge Animations */
@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatBadgeVertical {

    0%,
    100% {
        transform: translate(0, -50%);
    }

    50% {
        transform: translate(0, calc(-50% - 10px));
    }
}

/* Mobile: Adjust or hide floating badges if too crowded */
@media (max-width: 576px) {
    .floating-badge {
        transform: scale(0.8) !important;
        /* Scale down */
        animation: none !important;
        /* specific animation might overlap */
    }

    .floating-badge.pos-top-left {
        left: 0;
        top: 0;
    }

    .floating-badge.pos-top-right {
        right: 0;
        top: 5%;
    }

    .floating-badge.pos-center-left {
        display: none;
    }

    /* Hide center ones on mobile */
    .floating-badge.pos-center-right {
        display: none;
    }

    .floating-badge.pos-bottom-left {
        display: none;
    }

    .floating-badge.pos-bottom-right {
        right: 0;
        bottom: 0;
    }
}


.banner-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
    pointer-events: none;
}

.banner-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}


@media (max-width: 768px) {
    .banner-wave svg {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .banner-wave svg {
        height: 35px;
    }
}

/* Banner Image Left styles (Auto-Added) */
.banner-flex[style*='row-reverse'] .banner-text {
    text-align: right !important;
}

@media (max-width: 768px) {
    .banner-flex[style*='row-reverse'] .banner-text {
        text-align: center !important;
    }
}


/* ===== brand_banner_pro ===== */
.module-brand-banner-pro {
    position: relative;
    overflow: hidden;
}

.module-brand-banner-pro .bbp-stage {
    position: relative;
    isolation: isolate;
    min-height: var(--bbp-height, 85vh);
    padding-top: var(--bbp-pt, 72px);
    padding-bottom: var(--bbp-pb, 72px);
    display: flex;
    align-items: center;
}

.module-brand-banner-pro .bbp-bg-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: var(--bbp-bg-overlay, 0);
    z-index: 1;
    pointer-events: none;
}

.module-brand-banner-pro .bbp-inner {
    width: min(1240px, 92vw);
    margin: 0 auto;
    position: relative;
    z-index: 3;
    display: grid;
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
}

.module-brand-banner-pro .bbp-content {
    position: relative;
    color: var(--bbp-text-color, #334155);
    max-width: 760px;
}

.module-brand-banner-pro .bbp-title {
    margin: 0;
    color: var(--bbp-title-color, #0f172a);
    font-size: clamp(36px, 7vw, var(--bbp-title-size-max, 88px));
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.module-brand-banner-pro .bbp-title strong {
    font-weight: 800;
}

.module-brand-banner-pro .bbp-title-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.module-brand-banner-pro .bbp-title-line {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    max-width: 100%;
}

.module-brand-banner-pro .bbp-title-image {
    display: block;
    width: min(100%, var(--bbp-title-image-max-width, 760px));
    height: auto;
}

.module-brand-banner-pro.bbp-title-effect-outline .bbp-title {
    color: transparent;
    -webkit-text-stroke: var(--bbp-title-stroke-width, 1.5px) var(--bbp-title-stroke-color, #ffffff);
    text-shadow: none;
}

.module-brand-banner-pro.bbp-title-effect-gradient .bbp-title {
    background: var(--bbp-title-gradient, linear-gradient(180deg, #ffffff 0%, #dbeafe 65%, #93c5fd 100%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.module-brand-banner-pro.bbp-title-effect-glow .bbp-title {
    text-shadow: 0 0 26px rgba(255, 255, 255, 0.45), 0 14px 40px rgba(37, 99, 235, 0.35);
}

.module-brand-banner-pro .bbp-subtitle {
    margin: 18px 0 0;
    font-size: clamp(18px, 2.2vw, 34px);
    line-height: 1.35;
    color: var(--bbp-title-color, #0f172a);
}

.module-brand-banner-pro .bbp-desc {
    margin-top: 16px;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.75;
    opacity: 0.9;
    max-width: 720px;
}

.module-brand-banner-pro .bbp-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.module-brand-banner-pro .bbp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.28s ease;
    border: 1px solid transparent;
}

.module-brand-banner-pro .bbp-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05em;
}

.module-brand-banner-pro .bbp-btn-primary {
    background: #0b6cff;
    color: #fff;
    box-shadow: 0 18px 34px -18px rgba(11, 108, 255, 0.8);
}

.module-brand-banner-pro .bbp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 38px -18px rgba(11, 108, 255, 0.9);
    color: #fff;
}

.module-brand-banner-pro .bbp-btn-light {
    background: rgba(255, 255, 255, 0.88);
    color: #0f172a;
    border-color: rgba(148, 163, 184, 0.32);
}

.module-brand-banner-pro .bbp-btn-light:hover {
    background: #fff;
    transform: translateY(-2px);
}

.module-brand-banner-pro .bbp-btn-outline {
    background: transparent;
    color: var(--bbp-title-color, #0f172a);
    border-color: rgba(148, 163, 184, 0.45);
}

.module-brand-banner-pro .bbp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.module-brand-banner-pro .bbp-media-col {
    width: 100%;
    display: flex;
    justify-content: center;
}

.module-brand-banner-pro .bbp-media-wrap {
    width: min(100%, var(--bbp-media-max-width, 980px));
    border-radius: var(--bbp-media-radius, 26px);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
}

.module-brand-banner-pro .bbp-media-wrap img,
.module-brand-banner-pro .bbp-media-wrap video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.module-brand-banner-pro.bbp-shadow-none .bbp-media-wrap {
    box-shadow: none;
}

.module-brand-banner-pro.bbp-shadow-soft .bbp-media-wrap {
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.module-brand-banner-pro.bbp-shadow-lifted .bbp-media-wrap {
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.26);
}

.module-brand-banner-pro.bbp-shadow-glow .bbp-media-wrap {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.36), 0 28px 80px rgba(59, 130, 246, 0.35);
}

.module-brand-banner-pro .bbp-media-placeholder {
    min-height: 260px;
    border-radius: var(--bbp-media-radius, 26px);
    border: 1px dashed rgba(148, 163, 184, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(15, 23, 42, 0.55);
    background: rgba(255, 255, 255, 0.35);
    padding: 24px;
    text-align: center;
    font-size: 14px;
}

.module-brand-banner-pro .bbp-overlay-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.module-brand-banner-pro .bbp-overlay-media img,
.module-brand-banner-pro .bbp-overlay-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.66;
    transform: scale(1.02);
}

.module-brand-banner-pro.bbp-layout-top_bottom .bbp-inner {
    grid-template-columns: 1fr;
    justify-items: center;
}

.module-brand-banner-pro.bbp-layout-top_bottom .bbp-media-wrap {
    max-height: 60vh;
    border-radius: max(var(--bbp-media-radius, 26px), 18px);
}

.module-brand-banner-pro.bbp-layout-left_right .bbp-inner,
.module-brand-banner-pro.bbp-layout-right_left .bbp-inner {
    width: min(1540px, 98vw);
    grid-template-columns: minmax(220px, 0.34fr) minmax(720px, 0.66fr);
    gap: clamp(16px, 2.4vw, 36px);
}

.module-brand-banner-pro.bbp-layout-left_right .bbp-content,
.module-brand-banner-pro.bbp-layout-right_left .bbp-content {
    max-width: 420px;
    width: 100%;
}

.module-brand-banner-pro.bbp-layout-left_right .bbp-title,
.module-brand-banner-pro.bbp-layout-right_left .bbp-title {
    font-size: clamp(34px, 4.6vw, min(var(--bbp-title-size-max, 72px), 72px));
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.module-brand-banner-pro.bbp-layout-left_right .bbp-subtitle,
.module-brand-banner-pro.bbp-layout-right_left .bbp-subtitle {
    font-size: clamp(18px, 2.4vw, 30px);
}

.module-brand-banner-pro.bbp-layout-left_right .bbp-desc,
.module-brand-banner-pro.bbp-layout-right_left .bbp-desc {
    max-width: 430px;
    font-size: clamp(14px, 1.05vw, 16px);
}

.module-brand-banner-pro.bbp-layout-left_right .bbp-media-col {
    justify-content: flex-end;
    overflow: visible;
}

.module-brand-banner-pro.bbp-layout-right_left .bbp-media-col {
    justify-content: flex-start;
    overflow: visible;
}

.module-brand-banner-pro.bbp-layout-left_right .bbp-media-wrap,
.module-brand-banner-pro.bbp-layout-right_left .bbp-media-wrap {
    width: min(132%, calc(var(--bbp-media-max-width, 980px) + 360px));
    max-width: none;
    border-radius: max(var(--bbp-media-radius, 26px), 18px);
}

.module-brand-banner-pro.bbp-layout-left_right .bbp-media-wrap {
    margin-right: clamp(-56px, -4vw, -20px);
}

.module-brand-banner-pro.bbp-layout-right_left .bbp-media-wrap {
    margin-left: clamp(-56px, -4vw, -20px);
}

.module-brand-banner-pro.bbp-layout-left_right .bbp-content {
    justify-self: start;
    margin-left: clamp(-30px, -2vw, -10px);
}

.module-brand-banner-pro.bbp-layout-right_left .bbp-content {
    justify-self: end;
    margin-right: clamp(-30px, -2vw, -10px);
}

.module-brand-banner-pro.bbp-layout-right_left .bbp-content {
    order: 2;
}

.module-brand-banner-pro.bbp-layout-right_left .bbp-media-col {
    order: 1;
}

.module-brand-banner-pro.bbp-layout-overlay_center .bbp-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.module-brand-banner-pro.bbp-layout-overlay_center .bbp-content {
    max-width: 860px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
}

.module-brand-banner-pro.bbp-layout-overlay_center.bbp-overlay-box-glass .bbp-content {
    padding: clamp(20px, 4vw, 44px);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.module-brand-banner-pro.bbp-align-center .bbp-content {
    text-align: center;
    margin-inline: auto;
}

.module-brand-banner-pro.bbp-align-center .bbp-actions {
    justify-content: center;
}

.module-brand-banner-pro.bbp-no-media .bbp-inner {
    grid-template-columns: 1fr !important;
    justify-items: center;
}

.module-brand-banner-pro.bbp-style-glow .bbp-title {
    font-family: "Times New Roman", Georgia, serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.module-brand-banner-pro.bbp-style-glow.bbp-layout-overlay_center .bbp-title-line {
    justify-content: center;
}

.module-brand-banner-pro.bbp-style-glow.bbp-layout-overlay_center .bbp-title {
    font-size: clamp(72px, 15vw, var(--bbp-title-size-max, 220px));
    line-height: 0.96;
    letter-spacing: 0.015em;
}

.module-brand-banner-pro.bbp-style-glow.bbp-layout-overlay_center .bbp-title-image {
    width: min(100%, var(--bbp-title-image-max-width, 860px));
}

.module-brand-banner-pro.bbp-style-glow .bbp-subtitle {
    opacity: 0.93;
}

.module-brand-banner-pro.bbp-style-editorial .bbp-title {
    letter-spacing: -0.04em;
    text-transform: none;
    font-weight: 800;
}

.module-brand-banner-pro.bbp-style-editorial .bbp-btn {
    border-radius: 12px;
}

.module-brand-banner-pro.bbp-style-editorial.bbp-layout-left_right .bbp-title,
.module-brand-banner-pro.bbp-style-editorial.bbp-layout-right_left .bbp-title {
    font-size: clamp(32px, 4.2vw, 64px);
    letter-spacing: -0.03em;
}

.module-brand-banner-pro.bbp-style-editorial.bbp-layout-left_right .bbp-media-wrap img,
.module-brand-banner-pro.bbp-style-editorial.bbp-layout-right_left .bbp-media-wrap img {
    object-fit: contain;
}

.module-brand-banner-pro .bbp-glow {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: clamp(240px, 35vw, 600px);
    height: clamp(240px, 35vw, 600px);
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.36;
    animation: bbpGlowMove 11s ease-in-out infinite alternate;
}

.module-brand-banner-pro .bbp-glow-a {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.75) 0%, rgba(59, 130, 246, 0) 72%);
    top: -10%;
    right: -8%;
}

.module-brand-banner-pro .bbp-glow-b {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.65) 0%, rgba(14, 165, 233, 0) 72%);
    bottom: -18%;
    left: -12%;
    animation-delay: 1.5s;
}

.module-brand-banner-pro .bbp-orbit {
    position: absolute;
    width: var(--bbp-orbit-size, 120px);
    height: var(--bbp-orbit-size, 120px);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bbp-orbit-color, #e5e7eb);
    z-index: 7;
    pointer-events: none;
}

.module-brand-banner-pro .bbp-orbit.bbp-orbit-corner {
    right: var(--bbp-orbit-right, 24px);
    top: var(--bbp-orbit-top, 24px);
}

.module-brand-banner-pro .bbp-orbit.bbp-orbit-title {
    right: 0;
    top: 0;
    transform: translate(
        calc(60% + var(--bbp-orbit-right, 0px)),
        calc(-22% + var(--bbp-orbit-top, 0px))
    );
}

.module-brand-banner-pro .bbp-orbit svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    transform-origin: 50% 50%;
    animation: bbpRotate 16s linear infinite;
}

.module-brand-banner-pro .bbp-orbit text {
    font-size: 7.2px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    fill: currentColor;
    opacity: 0.9;
    font-weight: 400;
}

.module-brand-banner-pro .bbp-orbit-center {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    color: currentColor;
    opacity: 0.92;
}

.module-brand-banner-pro .bbp-orbit-center-image img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    border-radius: 999px;
}

.module-brand-banner-pro .bbp-orbit-center-image {
    animation: none;
}

.module-brand-banner-pro.bbp-intro-fade_up .bbp-content {
    animation: bbpFadeUp 0.75s cubic-bezier(0.2, 0.72, 0.25, 1) both;
}

.module-brand-banner-pro.bbp-intro-slide_up .bbp-content {
    animation: bbpSlideUp 0.8s cubic-bezier(0.2, 0.72, 0.25, 1) both;
}

.module-brand-banner-pro.bbp-intro-zoom .bbp-content {
    animation: bbpZoomIn 0.7s ease both;
}

.module-brand-banner-pro.bbp-media-anim-float .bbp-media-wrap {
    animation: bbpFloat 5.4s ease-in-out infinite;
}

.module-brand-banner-pro.bbp-media-anim-pulse .bbp-media-wrap {
    animation: bbpPulse 4.2s ease-in-out infinite;
}

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

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

@keyframes bbpZoomIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes bbpPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.018);
    }
}

@keyframes bbpGlowMove {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(24px, -18px, 0) scale(1.08);
    }
}

@keyframes bbpRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bbpRotateReverse {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

@media (max-width: 1024px) {
    .module-brand-banner-pro.bbp-layout-left_right .bbp-inner,
    .module-brand-banner-pro.bbp-layout-right_left .bbp-inner {
        grid-template-columns: 1fr;
    }

    .module-brand-banner-pro.bbp-layout-right_left .bbp-content,
    .module-brand-banner-pro.bbp-layout-right_left .bbp-media-col {
        order: initial;
    }

    .module-brand-banner-pro .bbp-content {
        max-width: 100%;
    }

    .module-brand-banner-pro .bbp-orbit {
        width: min(var(--bbp-orbit-size, 120px), 98px);
        height: min(var(--bbp-orbit-size, 120px), 98px);
    }

    .module-brand-banner-pro .bbp-orbit.bbp-orbit-corner {
        right: max(var(--bbp-orbit-right, 0px), 12px);
        top: max(var(--bbp-orbit-top, 0px), 12px);
    }

    .module-brand-banner-pro .bbp-orbit.bbp-orbit-title {
        transform: translate(
            calc(44% + var(--bbp-orbit-right, 0px)),
            calc(-20% + var(--bbp-orbit-top, 0px))
        );
    }
}

@media (max-width: 767px) {
    .module-brand-banner-pro .bbp-stage {
        padding-top: min(var(--bbp-pt, 72px), 56px);
        padding-bottom: min(var(--bbp-pb, 72px), 56px);
    }

    .module-brand-banner-pro .bbp-actions {
        width: 100%;
    }

    .module-brand-banner-pro .bbp-btn {
        width: 100%;
    }

    .module-brand-banner-pro.bbp-layout-overlay_center.bbp-overlay-box-glass .bbp-content {
        padding: 18px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .module-brand-banner-pro .bbp-glow,
    .module-brand-banner-pro .bbp-orbit svg,
    .module-brand-banner-pro .bbp-orbit-center,
    .module-brand-banner-pro .bbp-content,
    .module-brand-banner-pro .bbp-media-wrap {
        animation: none !important;
        transition: none !important;
    }
}

/* ===== dynamic_banner ===== */
.module-dynamic-banner {
    background: var(--db-bg);
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}
.module-dynamic-banner.db-has-fixed-height {
    min-height: var(--db-min-height);
    display: flex;
    align-items: center;
}
.module-dynamic-banner .db-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.module-dynamic-banner .db-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--db-title-color);
}
.module-dynamic-banner .db-title-typing {
    color: var(--db-highlight-color);
    position: relative;
}
.module-dynamic-banner .db-cursor {
    display: inline-block;
    color: var(--db-highlight-color);
    animation: db-blink 1s step-end infinite;
    margin-left: 2px;
    font-weight: 300;
}
.module-dynamic-banner .db-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--db-text-color);
    opacity: 0.9;
}
.module-dynamic-banner .db-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--db-text-color);
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 540px;
}
.module-dynamic-banner .db-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.module-dynamic-banner .db-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.module-dynamic-banner .db-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.module-dynamic-banner .db-btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.module-dynamic-banner .db-btn-secondary {
    background: #fff;
    color: #1e293b;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.module-dynamic-banner .db-btn-outline {
    border: 2px solid var(--db-outline-color, var(--db-title-color));
    color: var(--db-outline-color, var(--db-title-color));
}
.module-dynamic-banner .db-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.module-dynamic-banner .db-visual-inner {
    position: relative;
    width: 100%;
    max-width: 600px;
}
.module-dynamic-banner .db-main-image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.module-dynamic-banner .db-visual:hover .db-main-image {
    transform: scale(1.02);
}
.module-dynamic-banner .shadow-soft {
    box-shadow: 0 20px 50px -12px rgba(0,0,0,0.1);
}
.module-dynamic-banner .shadow-strong {
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.module-dynamic-banner .shadow-glow {
    box-shadow: 0 0 60px -12px rgba(79, 70, 229, 0.3);
}
.module-dynamic-banner .db-float-card {
    position: absolute;
    z-index: 2;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform-origin: center center;
    white-space: nowrap;
}
.module-dynamic-banner .type-badge {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
}
.module-dynamic-banner .db-badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}
.module-dynamic-banner .db-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.module-dynamic-banner .db-card-title {
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
    line-height: 1.2;
}
.module-dynamic-banner .db-card-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}
@keyframes db-blink {
    0%,
    100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes db-float {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes db-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@keyframes db-shake {
    0%,
    100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}
.module-dynamic-banner .anim-float {
    animation: db-float 6s ease-in-out infinite;
}
.module-dynamic-banner .anim-pulse {
    animation: db-pulse 3s infinite;
}
.module-dynamic-banner .anim-shake {
    animation: db-shake 4s ease-in-out infinite;
}
@media (max-width: 991px) {
    .module-dynamic-banner .db-title {
        font-size: 2.8rem;
    }
}
@media (max-width: 768px) {
    .module-dynamic-banner .db-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .module-dynamic-banner .db-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .module-dynamic-banner .db-title {
        font-size: 2.2rem;
    }
    .module-dynamic-banner .db-desc {
        margin: 0 auto 30px;
    }
    .module-dynamic-banner .db-actions {
        justify-content: center;
    }
    .module-dynamic-banner .db-visual {
        order: 2;
        min-height: auto;
        padding: 20px;
    }
    .module-dynamic-banner .db-float-card {
        transform: scale(0.8);
    }
}


/* =========================================
   Full Screen Video Module Styles (全屏视频首屏)
   ========================================= */
.module-fullscreen-video {
    position: relative;
    width: 100%;
    height: 100vh;
    /* 全屏高度 */
    min-height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-sizing: border-box;
    /* 确保内边距不撑大容器 */
}

/* 背景层 */
.fsv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fsv-video,
.fsv-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.fsv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: var(--fsv-overlay, 0.3);
    z-index: 2;
}

.fsv-placeholder {
    width: 100%;
    height: 100%;
    background: #333;
}

/* 控制按钮 */
.fsv-controls {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 20;
    display: flex;
    gap: 15px;
}

.fsv-ctrl-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.fsv-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* 标题内容区 */
.fsv-content {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 50px;
}

.fsv-title {
    font-size: 5rem;
    font-weight: 200;
    margin: 0;
    line-height: 1.2;
    color: #fff;
    /* 呼吸光晕动画在这里应用 */
}

.fsv-subtitle {
    font-size: 1.5rem;
    letter-spacing: 5px;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

/* 呼吸光晕动画 */
.glow-animation {
    animation: glow-breathe 4s ease-in-out infinite;
    text-shadow: 0 0 var(--fsv-blur) var(--fsv-glow-color);
}

@keyframes glow-breathe {

    0%,
    100% {
        text-shadow: 0 0 15px var(--fsv-glow-color), 0 0 30px var(--fsv-glow-color);
        opacity: 0.95;
    }

    50% {
        text-shadow: 0 0 25px var(--fsv-glow-color), 0 0 50px var(--fsv-glow-color), 0 0 80px var(--fsv-glow-color);
        opacity: 1;
    }
}

/* 字幕淡入 */
.tracking-in-expand {
    animation: tracking-in-expand 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* 底部导航 */
.fsv-bottom-nav {
    position: absolute;
    bottom: 12%;
    /* 使用百分比，确保在不同高度屏幕上可见 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0;
    /* 连在一起 */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.fsv-nav-item {
    position: relative;
}

.fsv-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 40px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.fsv-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.fsv-nav-link i {
    font-size: 1.1em;
}

/* 二维码悬停卡片 */
.fsv-qr-card {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 140px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 30;
    margin-bottom: 20px;
}

.fsv-nav-item:hover .fsv-qr-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.fsv-qr-box img {
    width: 100%;
    height: auto;
    display: block;
}

.fsv-qr-text {
    color: #333;
    font-size: 12px;
    margin-top: 8px;
}

/* 小三角 */
.fsv-qr-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
}

/* 响应式 */
@media (max-width: 768px) {
    .fsv-title {
        font-size: 3rem;
    }

    .fsv-subtitle {
        font-size: 1rem;
    }

    .fsv-controls {
        top: 20px;
        right: 20px;
    }

    .fsv-bottom-nav {
        width: 90%;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 20px;
        bottom: 30px;
    }

    .fsv-nav-link {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* 全屏视频首屏：移动端控制按钮下移，避免压住顶部菜单操作区 */
@media (max-width: 992px) {
    .module-fullscreen-video .fsv-controls {
        top: calc(env(safe-area-inset-top, 0px) + 76px);
        right: calc(env(safe-area-inset-right, 0px) + 14px);
        gap: 10px;
    }

    .module-fullscreen-video .fsv-ctrl-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    body.page-template-template-video-hero .module-fullscreen-video .fsv-controls {
        top: calc(env(safe-area-inset-top, 0px) + 76px);
        right: calc(env(safe-area-inset-right, 0px) + 14px);
        gap: 10px;
    }

    body.page-template-template-video-hero .module-fullscreen-video .fsv-ctrl-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}
            

/* ===== hero_search ===== */

            /* 模块整体 - 全宽 */
            .module-hero-search {
                position: relative;
                width: 100vw;
                left: 50%;
                right: 50%;
                margin-left: -50vw;
                margin-right: -50vw;
                overflow: hidden;
            }
            /* 背景层 */
            .module-hero-search .hs-bg-layer {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 1;
            }
            .module-hero-search .hs-bg-swiper {
                width: 100%;
                height: 100%;
            }
            .module-hero-search .hs-bg-swiper .swiper-slide {
                width: 100%;
                height: 100%;
            }
            .module-hero-search .hs-bg-image {
                width: 100%;
                height: 100%;
                background-size: cover;
                background-position: center;
            }
            .module-hero-search .hs-bg-video {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
            .module-hero-search .hs-bg-placeholder {
                width: 100%;
                height: 100%;
                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            }
            /* 遮罩层 */
            .module-hero-search .hs-overlay {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 2;
            }
            /* 内容层 */
            .module-hero-search .hs-content {
                position: relative;
                z-index: 3;
                height: 100%;
                display: flex;
                align-items: center;
                padding: 60px 0;
            }
            .module-hero-search .hs-content .container {
                width: 100%;
            }
            /* 标题 */
            .module-hero-search .hs-title {
                margin: 0 0 16px 0;
                font-weight: 700;
                line-height: 1.2;
                text-shadow: 0 2px 10px rgba(0,0,0,0.2);
            }
            .module-hero-search .hs-subtitle {
                margin: 0 0 40px 0;
                font-size: 1.2rem;
                text-shadow: 0 1px 5px rgba(0,0,0,0.2);
            }
            /* 搜索框 */
            .module-hero-search .hs-search-form {
                margin-bottom: 50px;
            }
            .module-hero-search .hs-search-box {
                display: flex;
                background: #fff;
                border-radius: 50px;
                padding: 6px;
                box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            }
            .module-hero-search .hs-search-input {
                flex: 1;
                border: none;
                background: transparent;
                padding: 14px 24px;
                font-size: 16px;
                outline: none;
                color: #1e293b;
            }
            .module-hero-search .hs-search-input::placeholder {
                color: #94a3b8;
            }
            .module-hero-search .hs-search-btn {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                padding: 14px 28px;
                border: none;
                border-radius: 50px;
                color: #fff;
                font-size: 15px;
                font-weight: 500;
                cursor: pointer;
                transition: all 0.3s;
            }
            .module-hero-search .hs-search-btn:hover {
                transform: scale(1.02);
                box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
            }
            /* 关键词标签 */
            .module-hero-search .hs-tags {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap: 10px;
                margin-top: 30px;
            }
            .module-hero-search .hs-tags-label {
                font-size: 14px;
                opacity: 0.8;
            }
            .module-hero-search .hs-tag {
                display: inline-block;
                padding: 8px 16px;
                border-radius: 20px;
                font-size: 13px;
                text-decoration: none;
                transition: all 0.3s;
                backdrop-filter: blur(10px);
            }
            .module-hero-search .hs-tag:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            }
            
            /* 响应式 */
            @media (max-width: 768px) {
                .module-hero-search .hs-title {
                    font-size: 2rem !important;
                }
                .module-hero-search .hs-subtitle {
                    font-size: 1rem;
                    margin-bottom: 30px;
                }
                .module-hero-search .hs-search-box {
                    flex-direction: column;
                    border-radius: 16px;
                    padding: 12px;
                }
                .module-hero-search .hs-search-input {
                    padding: 12px 16px;
                    text-align: center;
                }
                .module-hero-search .hs-search-btn {
                    justify-content: center;
                    border-radius: 12px;
                    padding: 12px;
                }
                .module-hero-search .hs-tags {
                    justify-content: center !important;
                }
            }

/* =========================================
   Interact Hero Module
   ========================================= */
.module-interact-hero {
    position: relative;
    overflow: hidden;
    background: var(--ih-bg-color, #ebf7f8);
    color: var(--ih-text-color, #333);
    padding-top: var(--ih-pt, 100px);
    padding-bottom: var(--ih-pb, 80px);
    isolation: isolate;
}

.module-interact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 20%, rgba(59, 130, 246, 0.22) 0%, rgba(59, 130, 246, 0) 34%),
        radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.20) 0%, rgba(34, 211, 238, 0) 30%),
        radial-gradient(circle at 72% 78%, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0) 32%);
    z-index: 0;
    pointer-events: none;
}

.ql-ih-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ql-ih-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 480px;
    margin-bottom: 60px;
}

.ql-ih-content-col {
    flex: 1;
    max-width: 50%;
    padding-right: 40px;
    animation: ql_ih_fadeUp 0.8s ease-out forwards;
}

.ql-ih-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.72);
    color: #0f172a;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.08em;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
    margin-bottom: 20px;
}

.ql-ih-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -1.5px;
}

.ql-ih-subtitle {
    font-size: 18px;
    opacity: 0.86;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 88%;
}

.ql-ih-actions {
    display: flex;
    gap: 15px;
}

.ql-ih-btn {
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ql-ih-btn-primary {
    background: var(--ih-main-color, #00e09f);
    color: #fff;
    box-shadow: 0 18px 40px -16px rgba(14, 165, 233, 0.55);
}

.ql-ih-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -16px rgba(14, 165, 233, 0.62);
    filter: brightness(1.05);
}

.ql-ih-btn-secondary {
    background: rgba(255, 255, 255, 0.78);
    color: currentColor;
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.ql-ih-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.92);
}

.ql-ih-media-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}

.ql-ih-media-wrapper {
    position: relative;
    max-width: 100%;
    width: auto;
    padding: 0;
    border-radius: 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
    animation: ql_ih_fadeLeft 1s ease-out 0.2s forwards;
    opacity: 0;
}

.ql-ih-media-img,
.ql-ih-media-video {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 16px;
    display: block;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.ql-ih-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    opacity: 0;
    animation: ql_ih_fadeUp 0.8s ease-out 0.6s forwards;
}

.ql-ih-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.ql-ih-card:hover {
    background: rgba(255, 255, 255, 0.96);
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.12);
    border-color: var(--ih-main-color, #00e09f);
}

.ql-ih-card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s;
}

.ql-ih-card:hover .ql-ih-card-icon img {
    transform: scale(1.1);
}

.ql-ih-card-info h4 {
    font-size: 16px;
    margin: 0 0 6px 0;
    font-weight: 700;
}

.ql-ih-card-info p {
    font-size: 13px;
    margin: 0;
    opacity: 0.7;
    line-height: 1.4;
}

@keyframes ql_ih_float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes ql_ih_fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ql_ih_fadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 991px) {
    .ql-ih-top-row {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        justify-content: center;
        gap: 40px;
    }

    .ql-ih-content-col {
        max-width: 100%;
        padding-right: 0;
        margin-top: 30px;
    }

    .ql-ih-title {
        font-size: 32px;
    }

    .ql-ih-actions {
        justify-content: center;
    }

    .ql-ih-media-img,
    .ql-ih-media-video {
        max-height: 300px;
    }
}

@media (max-width: 767px) {
    .ql-ih-features-grid {
        grid-template-columns: 1fr;
    }
}

.ql-ih-btn .btn-icon {
    margin-right: 8px;
    font-size: 1.1em;
    vertical-align: middle;
}

/* ===== qiling_video_portal_hero ===== */
.qiling-video-portal-hero {
    --qvph-panel-width: 480px;
    --qvph-primary: #ff3c00;
    position: relative;
    width: 100%;
    height: var(--qvph-height-pc, 650px);
    overflow: hidden;
    background: #000;
    color: #fff;
    font-size: 14px;
}
.qvph-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.qvph-bg-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
    pointer-events: none;
}
.qvph-bg-item.active {
    opacity: 1;
    z-index: 2;
}
.qvph-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qvph-bg-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.85) 80%, rgba(0,0,0,0.95) 100%);
}
.qvph-content-container {
    position: relative;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.qvph-right-panel {
    max-width: 100%;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: -60px;
}
.qvph-info-wrapper {
    position: relative;
    min-height: 180px;
}
.qvph-info-item {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    animation: slideInRight 0.4s ease-out;
}
.qvph-info-item.active {
    display: flex;
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
.qvph-title-text {
    font-size: 42px;
    line-height: 1.2;
    margin: 0 0 15px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.qvph-title-img {
    max-height: 80px;
    width: auto;
    margin-bottom: 20px;
}
.qvph-meta-row {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}
.qvph-sep {
    margin: 0 10px;
    opacity: 0.5;
}
.qvph-tag {
    color: var(--qvph-primary);
    font-weight: bold;
}
.qvph-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    margin: 0 0 20px;
    max-width: 90%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qvph-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%);
    color: #fff;
    padding: 12px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(221, 36, 118, 0.4);
}
.qvph-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 36, 118, 0.6);
    color: #fff;
}
.qvph-nav-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.qvph-nav-list::-webkit-scrollbar {
    display: none;
}
.qvph-nav-item {
    flex: 0 0 100px;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
}
.qvph-nav-item:hover {
    transform: translateY(-4px);
}
.qvph-nav-thumb {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.qvph-nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qvph-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    transition: opacity 0.2s;
}
.qvph-nav-item.active .qvph-nav-thumb {
    border-color: var(--qvph-primary);
}
.qvph-nav-item.active .qvph-nav-overlay,
.qvph-nav-item:hover .qvph-nav-overlay {
    opacity: 0;
}
.qvph-nav-title {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.qvph-nav-item.active .qvph-nav-title {
    color: #fff;
    font-weight: bold;
}
.qvph-nav-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #dd2476;
    color: #fff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 2px;
    line-height: 1;
}
.qvph-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 20;
}
.qvph-bottom-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.qvph-col {
    display: flex;
    align-items: center;
    height: 100%;
}
.qvph-col-cats {
    flex: 2;
    gap: 20px;
    font-weight: bold;
}
.qvph-cat-link {
    color: #ddd;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}
.qvph-cat-link:hover {
    color: #fff;
}
.qvph-badge-dot {
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 10px;
    padding: 0 3px;
    border-radius: 2px;
    line-height: 12px;
}
.badge-red {
    background: #ff4757;
    color: #fff;
}
.badge-orange {
    background: #ffa502;
    color: #fff;
}
.badge-blue {
    background: #1e90ff;
    color: #fff;
}
.qvph-col-icons {
    flex: 1;
    justify-content: center;
    gap: 30px;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
}
.qvph-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}
.qvph-icon-link:hover {
    color: #fff;
}
.qvph-icon-link img {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}
.qvph-col-trends {
    flex: 1.5;
    justify-content: flex-end;
    gap: 15px;
    overflow: hidden;
}
.qvph-trend-link {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
    line-height: 1.3;
}
.qvph-trend-text {
    color: #fff;
    font-size: 14px;
}
.qvph-trend-info {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}
@media (max-width: 1024px) {
    .qiling-video-portal-hero {
        height: auto;
        min-height: var(--qvph-height-mb, 400px);
    }
    .qvph-bottom-bar {
        display: none;
    }
    .qvph-bg-mask {
        background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    }
    .qvph-content-container {
        justify-content: center;
        align-items: flex-end;
        padding-bottom: 30px;
    }
    .qvph-right-panel {
        width: 100%;
        margin-top: 0;
    }
    .qvph-info-wrapper {
        min-height: auto;
        margin-bottom: 20px;
    }
    .qvph-info-item {
        align-items: center;
        text-align: center;
    }
    .qvph-title-text {
        font-size: 28px;
    }
    .qvph-desc {
        display: none;
    }
    .qvph-nav-list {
        justify-content: flex-start;
        padding-left: 10px;
    }
}

/* ===== resource_hero_pro ===== */
.module-resource-hero-pro {
    position: relative;
    overflow: hidden;
    min-height: var(--rhp-height, 58vh);
    background: var(--rhp-bg, linear-gradient(135deg, #0f172a 0%, #1d4ed8 45%, #60a5fa 100%));
    color: #eef2ff;
    display: flex;
    align-items: center;
    isolation: isolate;
    --rhp-ambient-a: 16px;
    --rhp-ambient-b: 12px;
    --rhp-shine-duration: 7.2s;
}

.module-resource-hero-pro::before,
.module-resource-hero-pro::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.58;
    transform: translate3d(0, 0, 0);
}

.module-resource-hero-pro::before {
    width: 56vw;
    height: 56vw;
    left: -22vw;
    top: -24vw;
    background: radial-gradient(circle, rgba(191, 219, 254, 0.35) 0%, rgba(191, 219, 254, 0) 68%);
}

.module-resource-hero-pro::after {
    width: 44vw;
    height: 44vw;
    right: -14vw;
    bottom: -20vw;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.32) 0%, rgba(125, 211, 252, 0) 70%);
}

.module-resource-hero-pro .rhp-bg-layer {
    position: absolute;
    inset: 0;
    background: var(--rhp-bg, transparent);
    z-index: 0;
}

.module-resource-hero-pro .rhp-bg-layer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--rhp-bg-image, none);
    background-size: cover;
    background-position: center;
    opacity: 1;
}

.module-resource-hero-pro .rhp-bg-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 15, 34, var(--rhp-bg-overlay, 0));
}

.module-resource-hero-pro .container {
    position: relative;
    z-index: 2;
}

.module-resource-hero-pro.rhp-motion-soft {
    --rhp-ambient-a: 14px;
    --rhp-ambient-b: 10px;
    --rhp-shine-duration: 7.8s;
}

.module-resource-hero-pro.rhp-motion-rich {
    --rhp-ambient-a: 24px;
    --rhp-ambient-b: 18px;
    --rhp-shine-duration: 6.2s;
}

.module-resource-hero-pro.rhp-motion-on::before {
    animation: rhpAmbientDriftA 16s ease-in-out infinite alternate;
}

.module-resource-hero-pro.rhp-motion-on::after {
    animation: rhpAmbientDriftB 20s ease-in-out infinite alternate;
}

.module-resource-hero-pro.rhp-skin-premium .rhp-feed {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.18) 0%, rgba(115, 155, 255, 0.14) 100%);
}

.module-resource-hero-pro.rhp-skin-premium .rhp-card {
    background: linear-gradient(145deg, rgba(20, 41, 92, 0.66) 0%, rgba(30, 58, 138, 0.48) 100%);
}

.module-resource-hero-pro.rhp-skin-premium .rhp-stat {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(148, 197, 255, 0.14) 100%);
}

.module-resource-hero-pro.rhp-skin-clean .rhp-card,
.module-resource-hero-pro.rhp-skin-clean .rhp-feed,
.module-resource-hero-pro.rhp-skin-clean .rhp-stat {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
}

.module-resource-hero-pro.rhp-skin-dark .rhp-feed {
    background: rgba(8, 20, 44, 0.46);
}

.module-resource-hero-pro.rhp-skin-dark .rhp-card {
    background: rgba(7, 19, 43, 0.65);
    border-color: rgba(147, 197, 253, 0.25);
}

.module-resource-hero-pro.rhp-skin-dark .rhp-stat {
    background: rgba(11, 25, 54, 0.62);
}

.module-resource-hero-pro .rhp-main {
    display: grid;
    gap: 36px;
    align-items: center;
    padding: 56px 0 24px;
}

.module-resource-hero-pro.layout-left_right .rhp-main {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 540px);
    align-items: flex-start;
}

.module-resource-hero-pro.layout-top_bottom .rhp-main {
    grid-template-columns: minmax(0, 1fr);
}

.module-resource-hero-pro.feed-disabled .rhp-main,
.module-resource-hero-pro.layout-text_only .rhp-main {
    grid-template-columns: minmax(0, 1fr);
}

.module-resource-hero-pro .rhp-content {
    max-width: 720px;
}

.module-resource-hero-pro .rhp-content > * {
    transform: translate3d(0, 0, 0);
}

.module-resource-hero-pro.rhp-motion-on .rhp-badge,
.module-resource-hero-pro.rhp-motion-on .rhp-title,
.module-resource-hero-pro.rhp-motion-on .rhp-subtitle,
.module-resource-hero-pro.rhp-motion-on .rhp-desc,
.module-resource-hero-pro.rhp-motion-on .rhp-benefits,
.module-resource-hero-pro.rhp-motion-on .rhp-stats,
.module-resource-hero-pro.rhp-motion-on .rhp-actions {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    animation: rhpFadeUp 0.82s cubic-bezier(0.2, 0.72, 0.22, 1) both;
}

.module-resource-hero-pro.rhp-motion-on .rhp-badge { animation-delay: 0.04s; }
.module-resource-hero-pro.rhp-motion-on .rhp-title { animation-delay: 0.1s; }
.module-resource-hero-pro.rhp-motion-on .rhp-subtitle { animation-delay: 0.16s; }
.module-resource-hero-pro.rhp-motion-on .rhp-desc { animation-delay: 0.22s; }
.module-resource-hero-pro.rhp-motion-on .rhp-benefits { animation-delay: 0.3s; }
.module-resource-hero-pro.rhp-motion-on .rhp-stats { animation-delay: 0.38s; }
.module-resource-hero-pro.rhp-motion-on .rhp-actions { animation-delay: 0.46s; }

.module-resource-hero-pro.rhp-motion-on .rhp-visual-col {
    opacity: 0;
    transform: translate3d(24px, 0, 0);
    animation: rhpFadeSide 0.95s cubic-bezier(0.2, 0.72, 0.22, 1) 0.24s both;
}

.module-resource-hero-pro.layout-top_bottom.rhp-motion-on .rhp-visual-col {
    transform: translate3d(0, 22px, 0);
    animation-name: rhpFadeUp;
}

.module-resource-hero-pro .rhp-content-wrap {
    min-width: 0;
}

.module-resource-hero-pro .rhp-content-wrap.has-visual {
    display: grid;
    gap: 24px;
    align-items: flex-start;
}

.module-resource-hero-pro.layout-left_right .rhp-content-wrap.has-visual {
    grid-template-columns: minmax(0, 1fr);
}

.module-resource-hero-pro.layout-top_bottom .rhp-content-wrap.has-visual {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 48%);
    align-items: center;
}

.module-resource-hero-pro.layout-left_right .rhp-content-wrap.has-visual .rhp-content {
    max-width: 100%;
}

.module-resource-hero-pro .rhp-content-wrap.has-visual.visual-left .rhp-visual-col {
    order: -1;
}

.module-resource-hero-pro .rhp-visual-col {
    min-width: 0;
}

.module-resource-hero-pro .rhp-visual-wrap {
    display: block;
    position: relative;
    width: 100%;
    height: var(--rhp-visual-height, 320px);
    border-radius: var(--rhp-visual-radius, 18px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(10, 24, 52, 0.35);
    transform: translate3d(0, 0, 0);
}

.module-resource-hero-pro .rhp-visual-slide-inner {
    display: block;
    width: 100%;
    height: 100%;
}

.module-resource-hero-pro .rhp-visual-wrap.has-slider .rhp-visual-slider,
.module-resource-hero-pro .rhp-visual-wrap.has-slider .rhp-visual-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.module-resource-hero-pro .rhp-visual-wrap.has-slider .rhp-visual-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.52s ease;
    pointer-events: none;
}

.module-resource-hero-pro .rhp-visual-wrap.has-slider .rhp-visual-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.module-resource-hero-pro .rhp-visual-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 42%, rgba(191, 219, 254, 0.16) 100%);
}

.module-resource-hero-pro.rhp-motion-on.rhp-visual-shine .rhp-visual-wrap::before {
    content: "";
    position: absolute;
    top: -14%;
    left: -28%;
    width: 40%;
    height: 128%;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.42) 48%, rgba(255, 255, 255, 0) 100%);
    transform: translate3d(-160%, 0, 0) skewX(-16deg);
    animation: rhpShineSweep var(--rhp-shine-duration, 7.2s) cubic-bezier(0.2, 0.6, 0.2, 1) infinite;
    will-change: transform;
}

.module-resource-hero-pro .rhp-visual-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    transform: translate3d(0, 0, 0) scale(1.001);
    transition: transform 0.65s cubic-bezier(0.2, 0.72, 0.22, 1);
}

.module-resource-hero-pro .rhp-visual-wrap:hover img {
    transform: translate3d(0, 0, 0) scale(1.04);
}

.module-resource-hero-pro .rhp-visual-wrap.has-slider .rhp-visual-slide img {
    transform: translate3d(0, 0, 0) scale(1.03);
    transition: transform 0.9s ease;
}

.module-resource-hero-pro .rhp-visual-wrap.has-slider .rhp-visual-slide.is-active img {
    transform: translate3d(0, 0, 0) scale(1);
}

.module-resource-hero-pro .rhp-visual-wrap.has-slider:hover .rhp-visual-slide.is-active img {
    transform: translate3d(0, 0, 0) scale(1.035);
}

.module-resource-hero-pro .rhp-visual-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.module-resource-hero-pro .rhp-visual-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.52);
    padding: 0;
    cursor: pointer;
    transition: width 0.22s ease, background-color 0.22s ease, opacity 0.22s ease;
}

.module-resource-hero-pro .rhp-visual-dot.is-active {
    width: 22px;
    border-radius: 999px;
    background: #ffffff;
}

.module-resource-hero-pro.visual-shadow-soft .rhp-visual-wrap {
    box-shadow: 0 16px 36px rgba(8, 20, 44, 0.26);
}

.module-resource-hero-pro.visual-shadow-glow .rhp-visual-wrap {
    box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.24), 0 0 40px rgba(96, 165, 250, 0.45);
}

.module-resource-hero-pro .rhp-visual-caption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(220, 232, 255, 0.82);
}

.module-resource-hero-pro .rhp-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f8fbff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: none;
}

.module-resource-hero-pro .rhp-title {
    margin: 16px 0 12px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 8px 30px rgba(13, 26, 58, 0.28);
}

.module-resource-hero-pro .rhp-title strong {
    color: #dbeafe;
}

.module-resource-hero-pro .rhp-subtitle {
    margin: 0;
    color: rgba(236, 243, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 600;
}

.module-resource-hero-pro .rhp-desc {
    margin-top: 12px;
    color: rgba(221, 233, 255, 0.86);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 640px;
}

.module-resource-hero-pro .rhp-benefits {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.module-resource-hero-pro .rhp-benefits li {
    position: relative;
    padding-left: 22px;
    color: #e2e8ff;
    font-size: 0.95rem;
}

.module-resource-hero-pro .rhp-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #93c5fd;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.22);
}

.module-resource-hero-pro .rhp-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.module-resource-hero-pro .rhp-stat {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 12px 14px;
    backdrop-filter: none;
}

.module-resource-hero-pro .rhp-stat strong {
    display: block;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.2;
}

.module-resource-hero-pro .rhp-stat span {
    display: block;
    margin-top: 4px;
    color: rgba(220, 232, 255, 0.85);
    font-size: 0.85rem;
}

.module-resource-hero-pro .rhp-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.module-resource-hero-pro .rhp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.module-resource-hero-pro .rhp-btn:hover {
    transform: translateY(-2px) scale(1.01);
}

.module-resource-hero-pro .rhp-btn-primary {
    background: linear-gradient(180deg, #ffffff 0%, #e8f1ff 100%);
    color: #1e3a8a;
    box-shadow: 0 10px 24px rgba(9, 21, 54, 0.24);
}

.module-resource-hero-pro .rhp-btn-secondary {
    color: #eaf2ff;
    border: 1px solid rgba(234, 242, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: none;
}

.module-resource-hero-pro .rhp-feed {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: none;
    min-height: 0;
    max-height: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.module-resource-hero-pro.rhp-motion-on .rhp-feed {
    opacity: 0;
    transform: translate3d(24px, 0, 0);
    animation: rhpFadeSide 0.95s cubic-bezier(0.2, 0.72, 0.22, 1) 0.34s both;
}

.module-resource-hero-pro.layout-top_bottom.rhp-motion-on .rhp-feed {
    transform: translate3d(0, 18px, 0);
    animation-name: rhpFadeUp;
}

.module-resource-hero-pro .rhp-feed-empty {
    padding: 24px;
    color: #e2e8ff;
    font-size: 0.95rem;
}

.module-resource-hero-pro .rhp-feed-track {
    display: flex;
    gap: 12px;
    padding: 14px;
    will-change: transform;
}

.module-resource-hero-pro .rhp-feed-vertical .rhp-feed-track {
    flex-direction: column;
    animation: rhpScrollY var(--rhp-feed-duration, 26s) linear infinite;
}

.module-resource-hero-pro .rhp-feed-horizontal .rhp-feed-track {
    width: max-content;
    align-items: flex-start;
    animation: rhpScrollX var(--rhp-feed-duration, 26s) linear infinite;
}

.module-resource-hero-pro .rhp-feed-vertical .rhp-feed {
    min-height: 320px;
    max-height: 560px;
}

.module-resource-hero-pro .rhp-feed-horizontal .rhp-feed {
    min-height: 0;
    max-height: none;
}

.module-resource-hero-pro .rhp-feed.can-pause:hover .rhp-feed-track {
    animation-play-state: paused;
}

.module-resource-hero-pro .rhp-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(8, 20, 44, 0.36);
    padding: 10px;
    min-width: 320px;
    min-height: 0;
    height: auto;
    transition: transform 0.26s ease, border-color 0.26s ease, background-color 0.26s ease;
    transform: translate3d(0, 0, 0);
}

.module-resource-hero-pro .rhp-card:hover {
    transform: translate3d(0, -2px, 0);
    border-color: rgba(191, 219, 254, 0.45);
}

.module-resource-hero-pro .rhp-feed-horizontal .rhp-card {
    min-width: 360px;
    max-width: 420px;
    min-height: 0;
    height: auto;
}

.module-resource-hero-pro .rhp-card-thumb {
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.module-resource-hero-pro .rhp-card-thumb.rhp-card-thumb-placeholder {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.4), rgba(147, 197, 253, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.module-resource-hero-pro .rhp-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.module-resource-hero-pro .rhp-card-content {
    min-width: 0;
}

.module-resource-hero-pro .rhp-card-top,
.module-resource-hero-pro .rhp-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.module-resource-hero-pro .rhp-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #0f172a;
    background: #dbeafe;
}

.module-resource-hero-pro .rhp-pill.is-free {
    background: #dcfce7;
    color: #166534;
}

.module-resource-hero-pro .rhp-pill.is-vip {
    background: #fde68a;
    color: #92400e;
}

.module-resource-hero-pro .rhp-pill.is-paid {
    background: #fecaca;
    color: #991b1b;
}

.module-resource-hero-pro .rhp-date,
.module-resource-hero-pro .rhp-download-count {
    color: rgba(220, 232, 255, 0.78);
    font-size: 11px;
    white-space: nowrap;
}

.module-resource-hero-pro .rhp-card-title {
    margin: 6px 0;
    font-size: 0.96rem;
    line-height: 1.4;
}

.module-resource-hero-pro .rhp-card-title a {
    color: #fff;
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.module-resource-hero-pro .rhp-card-excerpt {
    margin: 0;
    color: rgba(220, 232, 255, 0.85);
    font-size: 0.82rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.module-resource-hero-pro .rhp-price {
    color: #fef3c7;
    font-size: 12px;
    font-weight: 700;
}

.module-resource-hero-pro .rhp-strip {
    overflow: hidden;
    margin-top: 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: none;
}

.module-resource-hero-pro .rhp-strip-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    animation: rhpScrollX var(--rhp-strip-duration, 34s) linear infinite;
    will-change: transform;
}

.module-resource-hero-pro .rhp-strip.can-pause:hover .rhp-strip-track {
    animation-play-state: paused;
}

.module-resource-hero-pro .rhp-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(8, 20, 44, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #eff6ff;
}

.module-resource-hero-pro .rhp-strip-title {
    font-size: 0.85rem;
    white-space: nowrap;
}

.module-resource-hero-pro .rhp-strip-price {
    color: #fde68a;
    font-size: 0.75rem;
    white-space: nowrap;
}

@keyframes rhpScrollY {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

@keyframes rhpScrollX {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes rhpFadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes rhpFadeSide {
    from {
        opacity: 0;
        transform: translate3d(24px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes rhpAmbientDriftA {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(var(--rhp-ambient-a, 16px), calc(var(--rhp-ambient-a, 16px) * -1), 0);
    }
}

@keyframes rhpAmbientDriftB {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(var(--rhp-ambient-b, 12px) * -1), var(--rhp-ambient-b, 12px), 0);
    }
}

@keyframes rhpShineSweep {
    0% {
        transform: translate3d(-160%, 0, 0) skewX(-16deg);
    }
    62% {
        transform: translate3d(-160%, 0, 0) skewX(-16deg);
    }
    100% {
        transform: translate3d(280%, 0, 0) skewX(-16deg);
    }
}

@media (max-width: 1100px) {
    .module-resource-hero-pro.layout-left_right .rhp-main {
        grid-template-columns: 1fr;
    }

    .module-resource-hero-pro .rhp-content-wrap.has-visual {
        grid-template-columns: 1fr;
    }

    .module-resource-hero-pro .rhp-content {
        max-width: 100%;
    }

    .module-resource-hero-pro .rhp-feed-vertical .rhp-feed {
        max-height: 460px;
    }

    .module-resource-hero-pro .rhp-feed-horizontal .rhp-feed {
        min-height: 0;
        max-height: none;
    }
}

@media (max-width: 767px) {
    .module-resource-hero-pro {
        min-height: auto;
    }

    .module-resource-hero-pro .rhp-main {
        padding: 44px 0 8px;
        gap: 22px;
    }

    .module-resource-hero-pro .rhp-title {
        font-size: clamp(1.7rem, 9vw, 2.4rem);
    }

    .module-resource-hero-pro .rhp-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .module-resource-hero-pro .rhp-card {
        grid-template-columns: 72px minmax(0, 1fr);
        min-width: 280px;
    }

    .module-resource-hero-pro .rhp-card-thumb {
        width: 72px;
        height: 72px;
    }

    .module-resource-hero-pro .rhp-feed-horizontal .rhp-card {
        min-width: 300px;
    }

    .module-resource-hero-pro .rhp-actions {
        width: 100%;
    }

    .module-resource-hero-pro .rhp-btn {
        flex: 1;
        min-width: 0;
    }

    .module-resource-hero-pro .rhp-visual-wrap {
        height: min(62vw, var(--rhp-visual-height, 320px));
    }

    .module-resource-hero-pro .rhp-visual-dots {
        bottom: 10px;
        gap: 6px;
    }

    .module-resource-hero-pro .rhp-visual-dot {
        width: 7px;
        height: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .module-resource-hero-pro::before,
    .module-resource-hero-pro::after {
        animation: none !important;
        transform: none !important;
    }

    .module-resource-hero-pro .rhp-badge,
    .module-resource-hero-pro .rhp-title,
    .module-resource-hero-pro .rhp-subtitle,
    .module-resource-hero-pro .rhp-desc,
    .module-resource-hero-pro .rhp-benefits,
    .module-resource-hero-pro .rhp-stats,
    .module-resource-hero-pro .rhp-actions,
    .module-resource-hero-pro .rhp-visual-col,
    .module-resource-hero-pro .rhp-feed,
    .module-resource-hero-pro .rhp-visual-wrap::before {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .module-resource-hero-pro .rhp-feed-track,
    .module-resource-hero-pro .rhp-strip-track {
        animation: none !important;
    }
}

            

/* ===== resume_hero ===== */

        .module-resume-hero {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        .module-resume-hero .rh-container {
            position: relative;
            z-index: 1;
            max-width: 800px;
            padding: 60px 20px;
            text-align: center;
        }
        .module-resume-hero .rh-container.layout-left {
            text-align: left;
            max-width: 1200px;
            width: 100%;
        }
        /* 头像 */
        .module-resume-hero .rh-avatar-wrap {
            margin-bottom: 24px;
        }
        .module-resume-hero .rh-avatar {
            object-fit: cover;
            border: 4px solid rgba(255,255,255,0.2);
            box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        }
        .module-resume-hero .rh-avatar.style-circle {
            border-radius: 50%;
        }
        .module-resume-hero .rh-avatar.style-rounded {
            border-radius: 20px;
        }
        .module-resume-hero .rh-avatar.style-square {
            border-radius: 0;
        }
        /* 姓名 */
        .module-resume-hero .rh-name {
            font-size: 3rem;
            font-weight: 700;
            margin: 0 0 12px;
            letter-spacing: -0.02em;
            color: #fff;
        }
        /* 职位 */
        .module-resume-hero .rh-titles {
            font-size: 1.4rem;
            font-weight: 500;
            margin-bottom: 20px;
            color: var(--color-primary, #3b82f6);
            min-height: 2em;
        }
        .module-resume-hero .rh-title-item {
            display: inline-block;
            margin: 0 8px;
        }
        .module-resume-hero .rh-title-item:not(:last-child)::after {
            content: '•';
            margin-left: 16px;
            opacity: 0.5;
        }
        .module-resume-hero .rh-cursor {
            animation: rhBlink 0.7s infinite;
        }
        @keyframes rhBlink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }
        /* 简介 */
        .module-resume-hero .rh-bio {
            font-size: 1.1rem;
            line-height: 1.7;
            margin: 0 0 24px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        .module-resume-hero .layout-left .rh-bio {
            margin-left: 0;
        }
        /* 联系信息 */
        .module-resume-hero .rh-contact {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-bottom: 24px;
        }
        .module-resume-hero .layout-left .rh-contact {
            justify-content: flex-start;
        }
        .module-resume-hero .rh-contact-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s;
        }
        .module-resume-hero a.rh-contact-item:hover {
            color: var(--color-primary, #3b82f6);
        }
        /* 社交媒体 */
        .module-resume-hero .rh-socials {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 32px;
        }
        .module-resume-hero .layout-left .rh-socials {
            justify-content: flex-start;
        }
        .module-resume-hero .rh-social-item {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            color: #fff;
            text-decoration: none;
            transition: all 0.3s;
            font-size: 1.2rem;
        }
        .module-resume-hero .rh-social-item:hover {
            background: var(--color-primary, #3b82f6);
            transform: translateY(-3px);
        }
        .module-resume-hero .rh-social-item svg {
            width: 20px;
            height: 20px;
        }
        /* 按钮 */
        .module-resume-hero .rh-buttons {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }
        .module-resume-hero .layout-left .rh-buttons {
            justify-content: flex-start;
        }
        .module-resume-hero .rh-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.3s;
        }
        .module-resume-hero .rh-btn.btn-solid {
            background: linear-gradient(135deg, var(--color-primary, #3b82f6), #8b5cf6);
            color: #fff;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
        }
        .module-resume-hero .rh-btn.btn-solid:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
        }
        .module-resume-hero .rh-btn.btn-outline {
            background: transparent;
            color: #fff;
            border: 2px solid rgba(255,255,255,0.3);
        }
        .module-resume-hero .rh-btn.btn-outline:hover {
            border-color: var(--color-primary, #3b82f6);
            color: var(--color-primary, #3b82f6);
        }
        /* 响应式 */
        @media (max-width: 768px) {
            .module-resume-hero .rh-name {
                font-size: 2.2rem;
            }
            .module-resume-hero .rh-titles {
                font-size: 1.1rem;
            }
            .module-resume-hero .rh-contact {
                flex-direction: column;
                gap: 12px;
            }
            .module-resume-hero .rh-buttons {
                flex-direction: column;
            }
            .module-resume-hero .rh-btn {
                width: 100%;
                justify-content: center;
            }
        }

.ql-ih-media-wrapper.anim-float {
    animation: ql_ih_fadeLeft 1s ease-out 0.2s forwards, ql_ih_float 6s ease-in-out infinite 1.2s;
}
