/* 详情页面样式 */
@import url('styles.css');

/* 详情页面布局 */
.detail-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
}

.detail-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.detail-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
}

.back-btn, .site-btn {
    padding: 12px 24px;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.site-btn {
    background: linear-gradient(135deg, #4ecdc4, #44a3aa);
    color: white;
}

.site-btn:hover {
    background: linear-gradient(135deg, #5dd8d0, #4db4bc);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* 详情内容区域 */
.detail-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px 60px 20px;
    color: white;
}

.detail-hero {
    text-align: center;
    margin-bottom: 60px;
}

.detail-icon {
    font-size: 80px;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.detail-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-subtitle {
    font-size: 20px;
    opacity: 0.9;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

/* 信息卡片 */
.info-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.info-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section h3 .icon {
    font-size: 28px;
}

.info-section ul {
    list-style: none;
    padding: 0;
}

.info-section ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-section ul li:last-child {
    border-bottom: none;
}

.info-section ul li::before {
    content: '✓';
    color: #4ecdc4;
    font-weight: bold;
    margin-top: 2px;
    flex-shrink: 0;
}

/* 统计数据 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #4ecdc4;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 使用说明 */
.usage-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 40px;
}

.usage-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, #4ecdc4, #44a3aa);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 15px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-description {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

/* 滚动效果 */
.detail-header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px 0;
}

/* 悬浮动画 */
.back-btn, .site-btn {
    position: relative;
    overflow: hidden;
}

.back-btn::before, .site-btn::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: left 0.5s ease;
}

.back-btn:hover::before, .site-btn:hover::before {
    left: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-title {
        font-size: 36px;
    }

    .detail-subtitle {
        font-size: 18px;
    }

    .detail-icon {
        font-size: 60px;
    }

    .detail-nav {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0 15px;
        gap: 15px;
    }

    .detail-content {
        padding: 90px 15px 40px 15px;
    }

    .info-sections {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .usage-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .detail-title {
        font-size: 28px;
    }

    .detail-nav {
        padding: 0 10px;
        gap: 10px;
    }

    .back-btn, .site-btn {
        padding: 10px 16px;
        font-size: 14px;
        flex: 1;
        text-align: center;
        justify-content: center;
        min-width: 120px;
    }

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

    .usage-section {
        padding: 30px 20px;
    }
}