/* ===== 产品详情页样式 ===== */

/* Hero Section */
.product-hero {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /* padding: 80px 0; */
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex; 
    align-items: center;
    justify-content: center;
}


.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-left {
    flex: 1;
}

.tab-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tab-icon img {
    width: 100%;
}

.product-name {
    font-size: 48px;
    font-weight: 700;
    color: #1890FF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-slogan {
    font-size: 24px;
    color: #00377E;
    margin-bottom: 60px;
    font-weight: 400;
}

.btn-lg {
    padding: 14px 40px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}
.hero-right .img {
    width: 765px;
    height: 469px;    
}

.mockup-container {
    position: relative;
    width: 500px;
    height: 400px;
}

.mockup {
    position: absolute;
    width: 240px;
    height: 360px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(24, 144, 255, 0.2);
    border: 8px solid #333;
    overflow: hidden;
}

.mockup-primary {
    left: 0;
    top: 20px;
    z-index: 2;
}

.mockup-secondary {
    right: 0;
    top: 0;
    z-index: 1;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background: #1890FF;
    color: #fff;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.mockup-header.purple {
    background: #722ED1;
}

.mockup-body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F5F5F5;
    border-radius: 8px;
}

.task-icon {
    width: 32px;
    height: 32px;
    background: #FF8C00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.task-text {
    color: #333;
    font-size: 14px;
}

.app-slogan {
    color: #1890FF;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}

.task-type,
.task-reward {
    padding: 12px;
    background: #F5F5F5;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    text-align: center;
}

/* Features Section */
.product-features {
    padding: 80px 0;
    background: #fff;
}

.section-header-center {
    text-align: center;
    margin-bottom: 48px;
}

.section-header-center .section-title {
    margin-bottom: 0;
}

/* Tab Navigation - Element UI 风格 */
.feature-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 48px;
    /* margin-bottom: 48px; */
    position: relative;
}

.feature-tabs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* height: 1px; */
    background: #E4E7ED;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #606266;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    outline: none;
}

.tab-btn:hover {
    color: #1890FF;
}

.tab-btn.active {
    color: #1890FF;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #1890FF;
    transition: transform 0.3s ease;
}

.tab-btn i {
    font-size: 16px;
}

/* Tab Content */
.tab-content {
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

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

.features-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* gap: 40px; */
    padding: 40px 0;
}

.features-left {
    /* flex: 1; */
    /* min-height: 500px; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* border-radius: 20px; */
    display: flex;
    align-items: center;
    /* padding: 40px; */
    position: relative;
    overflow: hidden;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); */
}

/* .features-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
} */

.features-left-content {
    position: relative;
    z-index: 2;
    /* color: #fff; */
}

.features-left-content .features-subtitle {
    color: #0B1D41;
}

/* .features-left-content .feature-text {
    color: #4E5969;
} */

/* .features-right {
    flex-shrink: 0;
} */

.features-image {
    width: 650px;
    height: 500px;
    /* border-radius: 20px; */
    overflow: hidden;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); */
}

.features-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1890FF;
    font-size: 16px;
    font-weight: 500;
}

.feature-tag i {
    font-size: 20px;
}

.features-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 32px;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
    min-height: 100px;
}

.features-list pre {
    font-family: inherit;
    font-size: 18px;
    color: #4E5969;
    line-height:2;
    white-space: pre-wrap;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.feature-number {
    width: 36px;
    height: 36px;
    background: #1890FF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 18px;
    color: #4E5969;
}

.features-right {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px;
}

.cube-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.cube {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
}

.cube-face {
    position: absolute;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #1890FF 0%, #40A9FF 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(24, 144, 255, 0.3);
}

.cube-text {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

.cube-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.orbit-bubble {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1890FF 0%, #40A9FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 20px rgba(24, 144, 255, 0.3);
    padding: 12px;
}

.bubble-1 {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.bubble-2 {
    right: 20px;
    top: 20px;
}

.bubble-3 {
    right: 0;
    bottom: 40px;
}

/* Shield Illustration */
.shield-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon {
    width: 140px;
    height: 160px;
    background: linear-gradient(135deg, #52C41A 0%, #73D13D 100%);
    border-radius: 8px 8px 70px 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 64px;
    box-shadow: 0 10px 40px rgba(82, 196, 26, 0.3);
    position: relative;
    z-index: 2;
}

.shield-ring {
    position: absolute;
    border: 3px solid rgba(82, 196, 26, 0.2);
    border-radius: 50%;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: pulse 2s ease-in-out infinite;
}

.ring-2 {
    width: 280px;
    height: 280px;
    animation: pulse 2s ease-in-out infinite 0.4s;
}

.ring-3 {
    width: 360px;
    height: 360px;
    animation: pulse 2s ease-in-out infinite 0.8s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Gift Illustration */
.gift-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-box {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #FF4D4F 0%, #FF7875 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 56px;
    box-shadow: 0 10px 40px rgba(255, 77, 79, 0.3);
    position: relative;
}

.gift-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.gift-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
}

.coin {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    animation: float 3s ease-in-out infinite;
}

.coin-1 {
    top: 40px;
    left: 60px;
    animation-delay: 0s;
}

.coin-2 {
    top: 60px;
    right: 60px;
    animation-delay: 0.5s;
}

.coin-3 {
    bottom: 60px;
    right: 40px;
    animation-delay: 1s;
}

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

/* Dropdown active state */
.dropdown-menu a.active {
    color: #1890FF;
    background: #E6F7FF;
}

/* Responsive Design */
/* @media (max-width: 992px) {
    .feature-tabs {
        gap: 32px;
    }

    .hero-content,
    .features-content {
        flex-direction: column;
    }

    .hero-left {
        max-width: 100%;
    }

    .features-left {
        min-height: 400px;
    }

    .features-image {
        width: 100%;
        max-width: 650px;
        height: auto;
        aspect-ratio: 650 / 500;
    }

    .features-left-content {
        max-width: 100%;
    }

    .mockup-container {
        width: 100%;
        max-width: 400px;
        height: 320px;
    }

    .mockup {
        width: 180px;
        height: 280px;
    }

    .cube-container {
        width: 300px;
        height: 300px;
    }

    .cube {
        width: 140px;
        height: 140px;
    }

    .cube-face {
        width: 140px;
        height: 140px;
    }

    .cube-text {
        font-size: 18px;
    }

    .orbit-bubble {
        width: 80px;
        height: 80px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .product-name {
        font-size: 36px;
    }

    .product-slogan {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-subtitle {
        font-size: 20px;
    }

    .mockup-container {
        height: 280px;
    }

    .mockup-primary {
        left: 10px;
    }

    .mockup-secondary {
        right: 10px;
    }

    .feature-tabs {
        gap: 20px;
    }

    .tab-btn {
        font-size: 14px;
        padding: 10px 12px;
    }
} */
