/**
 * 媒体套餐页面样式重置
 * 用于确保banner区块内容显示正常
 */

/* 重置基本元素 */
section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    overflow: visible !important;
    max-height: none !important;
    min-height: 200px !important;
}

.mp-wrapper {
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
}

/* 重置banner特定样式 */
.mp-banner-section {
    background-color: #fff4f4 !important;
    padding: 150px 0 60px !important;
    position: relative !important;
    z-index: 5 !important;
    display: block !important;
    visibility: visible !important;
    overflow: visible !important;
}

.mp-banner-content {
    color: #212529 !important;
    visibility: visible !important;
    display: block !important;
    position: relative !important;
    z-index: 10 !important;
}

.mp-banner-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #212529 !important;
    margin-bottom: 20px !important;
    display: block !important;
    visibility: visible !important;
}

.mp-highlight {
    color: #ff6b6b !important;
    font-weight: 700 !important;
    position: relative !important;
}

.mp-banner-subtitle {
    font-size: 1.2rem !important;
    margin-bottom: 25px !important;
    color: #495057 !important;
    display: block !important;
    visibility: visible !important;
}

.mp-banner-badge {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #fff !important; 
    padding: 8px 16px !important;
    border-radius: 50px !important;
    margin-bottom: 20px !important;
    visibility: visible !important;
}

.mp-banner-badge span {
    color: #ff6b6b !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.mp-btn {
    display: inline-block !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-right: 10px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.mp-btn-primary {
    background-color: #ff6b6b !important;
    color: #fff !important;
    border: 2px solid #ff6b6b !important;
}

.mp-btn-primary:hover {
    background-color: #e84a5f !important;
    color: #fff !important;
}

.mp-btn-outline {
    background-color: transparent !important;
    color: #ff6b6b !important;
    border: 2px solid #ff6b6b !important;
}

.mp-btn-outline:hover {
    background-color: #ff6b6b !important;
    color: #fff !important;
}

.mp-feature-item {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 15px !important;
    margin-right: 20px !important;
    visibility: visible !important;
}

.mp-feature-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 50% !important;
    background-color: #ffb8b8 !important;
    color: #ff6b6b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
}

.mp-feature-text {
    display: flex !important;
    flex-direction: column !important;
}

.mp-feature-text span {
    font-weight: 600 !important;
    color: #343a40 !important;
    font-size: 1rem !important;
}

.mp-feature-text small {
    color: #868e96 !important;
    font-size: 0.85rem !important;
}

.mp-banner-features {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-bottom: 30px !important;
    visibility: visible !important;
}

.mp-banner-buttons {
    display: flex !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
    visibility: visible !important;
}

.mp-main-image-placeholder {
    background: linear-gradient(135deg, #ffb8b8 0%, #ffffff 100%) !important;
    border-radius: 20px !important;
    height: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ff6b6b !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    visibility: visible !important;
}

.mp-main-image-placeholder i {
    margin-bottom: 15px !important;
    font-size: 2.5rem !important;
}

.mp-main-image-placeholder span {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
}

/* 新增banner背景粒子动画 */
.mp-banner-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.mp-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(0, 123, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.mp-particle-1 {
    top: 20%;
    left: 10%;
    animation: particleFloat 8s infinite ease-in-out;
}

.mp-particle-2 {
    top: 30%;
    left: 80%;
    width: 8px;
    height: 8px;
    background: rgba(255, 107, 107, 0.3);
    animation: particleFloat 10s infinite ease-in-out reverse;
}

.mp-particle-3 {
    top: 70%;
    left: 20%;
    width: 10px;
    height: 10px;
    background: rgba(46, 204, 113, 0.3);
    animation: particleFloat 12s infinite ease-in-out;
}

.mp-particle-4 {
    top: 40%;
    left: 50%;
    width: 7px;
    height: 7px;
    background: rgba(241, 196, 15, 0.3);
    animation: particleFloat 9s infinite ease-in-out reverse;
}

.mp-particle-5 {
    top: 80%;
    left: 70%;
    animation: particleFloat 11s infinite ease-in-out;
}

.mp-particle-6 {
    top: 10%;
    left: 60%;
    width: 9px;
    height: 9px;
    background: rgba(155, 89, 182, 0.3);
    animation: particleFloat 13s infinite ease-in-out reverse;
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* 媒体矩阵展示样式 */
.mp-media-collage {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mp-media-item {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    z-index: 2;
}

.mp-media-item:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mp-media-item i {
    font-size: 24px;
    margin-bottom: 5px;
    color: #007bff;
}

.mp-media-item span {
    font-size: 10px;
    text-align: center;
    color: #495057;
    font-weight: 600;
}

.mp-media-item-1 {
    top: 20%;
    left: 10%;
    animation: mediaFloat 6s infinite ease-in-out;
}

.mp-media-item-1 i {
    color: #3498db;
}

.mp-media-item-2 {
    top: 15%;
    right: 15%;
    animation: mediaFloat 8s infinite ease-in-out reverse;
}

.mp-media-item-2 i {
    color: #e74c3c;
}

.mp-media-item-3 {
    bottom: 20%;
    left: 15%;
    animation: mediaFloat 7s infinite ease-in-out 1s;
}

.mp-media-item-3 i {
    color: #f39c12;
}

.mp-media-item-4 {
    bottom: 15%;
    right: 10%;
    animation: mediaFloat 9s infinite ease-in-out 0.5s;
}

.mp-media-item-4 i {
    color: #27ae60;
}

.mp-media-item-center {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #007bff, #00d2ff);
    z-index: 3;
    animation: pulse 3s infinite ease-in-out;
}

.mp-media-item-center i {
    font-size: 36px;
    color: white;
}

.mp-media-item-center span {
    color: white;
    font-size: 14px;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 20px rgba(0, 123, 255, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    }
}

/* 动画按钮 */
.mp-btn-animated {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease !important;
}

.mp-btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
    z-index: -1;
}

.mp-btn-animated:hover::before {
    left: 100%;
}

.mp-btn-primary.mp-btn-animated:hover {
    background-color: #e84a5f !important;
    box-shadow: 0 5px 15px rgba(232, 74, 95, 0.4) !important;
    transform: translateY(-3px) !important;
}

.mp-btn-outline.mp-btn-animated:hover {
    background-color: transparent !important;
    color: #e84a5f !important;
    border-color: #e84a5f !important;
    box-shadow: 0 5px 15px rgba(232, 74, 95, 0.2) !important;
    transform: translateY(-3px) !important;
}

/* 计数器动画 */
.mp-counter {
    display: inline-block;
    font-weight: 700 !important;
    transition: all 0.3s ease;
}

/* 修复packages_tabs区块样式 */
.mp-packages-section {
    background-color: #ffffff !important;
    padding: 80px 0 !important;
    position: relative !important;
    z-index: 4 !important;
    overflow: visible !important;
    display: block !important;
    visibility: visible !important;
}

.mp-section-header {
    text-align: center !important;
    margin-bottom: 50px !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
}

.mp-section-subtitle {
    display: inline-block !important;
    padding: 5px 15px !important;
    background-color: #ffb8b8 !important;
    color: #ff6b6b !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    position: relative !important;
}

.mp-section-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: #212529 !important;
    display: block !important;
    visibility: visible !important;
}

.mp-section-description {
    font-size: 1.1rem !important;
    color: #6c757d !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    display: block !important;
    visibility: visible !important;
}

.mp-tabs-container {
    background-color: #fff !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    padding: 20px !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
}

.mp-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    border-bottom: 1px solid #dee2e6 !important;
    padding-bottom: 20px !important;
    margin-bottom: 30px !important;
    list-style: none !important;
    padding-left: 0 !important;
}

.mp-tab-item {
    padding: 15px 25px !important;
    background-color: #f8f9fa !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    border: 2px solid transparent !important;
    min-width: 150px !important;
}

.mp-tab-item:hover {
    background-color: #f1f3f5 !important;
    transform: translateY(-3px) !important;
}

.mp-tab-item.active {
    background-color: #fff4f4 !important;
    border-color: #ff6b6b !important;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2) !important;
}

.mp-tab-icon {
    width: 50px !important;
    height: 50px !important;
    background-color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
    color: #ff6b6b !important;
    font-size: 1.5rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.mp-tab-item[data-tab="industry"] .mp-tab-icon {
    color: #ff8a65 !important;
}

.mp-tab-item[data-tab="invite"] .mp-tab-icon {
    color: #49afd9 !important;
}

.mp-tab-item[data-tab="premium"] .mp-tab-icon {
    color: #a06cd5 !important;
}

.mp-tab-text {
    text-align: center !important;
    font-weight: 600 !important;
    color: #495057 !important;
}

.mp-tabs-content {
    position: relative !important;
    min-height: 400px !important;
}

.mp-tab-content {
    display: none !important;
    animation: fadeIn 0.6s ease-in-out !important;
}

.mp-tab-content.active {
    display: block !important;
}

.mp-tab-image {
    position: relative !important;
    padding: 15px !important;
}

.mp-img-fluid {
    width: 100% !important;
    height: auto !important;
    border-radius: 15px !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.mp-image-badge {
    position: absolute !important;
    top: 30px !important;
    right: 0 !important;
    background-color: #ff6b6b !important;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 2 !important;
}

.mp-badge-industry {
    background-color: #ff8a65 !important;
}

.mp-badge-invite {
    background-color: #49afd9 !important;
}

.mp-badge-premium {
    background-color: #a06cd5 !important;
}

.mp-tab-info {
    padding: 15px !important;
}

.mp-tab-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: #212529 !important;
}

.mp-tab-subtitle {
    font-size: 1.1rem !important;
    color: #6c757d !important;
    margin-bottom: 25px !important;
}

.mp-package-price {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 25px !important;
}

.mp-price-current {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #ff6b6b !important;
    margin-right: 15px !important;
}

.mp-price-original {
    font-size: 1.2rem !important;
    color: #adb5bd !important;
    text-decoration: line-through !important;
    margin-right: 15px !important;
}

.mp-price-save {
    background-color: #ffb8b8 !important;
    color: #e84a5f !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

.mp-package-features {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 30px !important;
}

.mp-package-features li {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 15px !important;
    color: #495057 !important;
}

.mp-package-features li i {
    color: #2ecc71 !important;
    margin-right: 10px !important;
    font-size: 1.1rem !important;
    margin-top: 2px !important;
}

.mp-package-cta {
    display: flex !important;
    gap: 15px !important;
}

.mp-packages-trust {
    margin-top: 60px !important;
    text-align: center !important;
}

.mp-trust-text {
    font-size: 1.1rem !important;
    color: #6c757d !important;
    margin-bottom: 20px !important;
    font-weight: 500 !important;
}

.mp-trust-brands {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
}

.mp-brand-item {
    height: 60px !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
    filter: grayscale(1) !important;
}

.mp-brand-item:hover {
    opacity: 1 !important;
    filter: grayscale(0) !important;
}

.mp-brand-item img {
    height: 100% !important;
    width: auto !important;
}

/* 选项卡区块背景元素 */
.mp-packages-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.mp-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 107, 107, 0.05));
}

.mp-bg-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -150px;
    animation: rotate 30s linear infinite;
}

.mp-bg-circle-2 {
    width: 300px;
    height: 300px;
    bottom: 50px;
    left: -100px;
    animation: rotate 20s linear infinite reverse;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.mp-bg-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 107, 107, 0.3);
}

.mp-bg-dot-1 {
    top: 20%;
    left: 15%;
    animation: floatDot 8s ease-in-out infinite;
}

.mp-bg-dot-2 {
    top: 70%;
    right: 10%;
    animation: floatDot 6s ease-in-out infinite reverse;
}

.mp-bg-dot-3 {
    bottom: 30%;
    left: 30%;
    animation: floatDot 10s ease-in-out infinite;
}

/* 选项卡徽章 */
.mp-tab-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff6b6b;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.mp-tab-item.active .mp-tab-badge {
    transform: scale(1);
}

/* 商标占位符 */
.mp-brand-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
    background-color: #f8f9fa;
    border-radius: 8px;
    color: #adb5bd;
    font-size: 14px;
    font-weight: 500;
}

/* 图片占位符 */
.mp-img-placeholder {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ffb8b8 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.mp-img-industry {
    background: linear-gradient(135deg, #ffccbc 0%, #ffffff 100%);
}

.mp-img-invite {
    background: linear-gradient(135deg, #b3e5fc 0%, #ffffff 100%);
}

.mp-img-premium {
    background: linear-gradient(135deg, #d1c4e9 0%, #ffffff 100%);
}

.mp-img-icon {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mp-img-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #212529;
}

/* 媒体类型图标 */
.mp-tab-media-types {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.mp-media-type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mp-media-type-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mp-media-type-item i {
    font-size: 20px;
    margin-bottom: 5px;
    color: #ff6b6b;
}

.mp-media-type-item span {
    font-size: 12px;
    color: #495057;
    font-weight: 500;
}

.mp-industry-item i {
    color: #ff8a65;
}

.mp-invite-item i {
    color: #49afd9;
}

.mp-premium-item i {
    color: #a06cd5;
}

/* 改进的选项卡切换动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tab 脉冲动画 */
.mp-tab-pulse {
    animation: tabPulse 0.5s cubic-bezier(0.4, 0, 0.6, 1);
}

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