* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    color: #334155;
}
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}
.logo-text p {
    font-size: 0.875rem;
    color: #999;
    margin: 0;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}
nav ul li {
    margin: 0;
}
nav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}
nav ul li a:hover {
    color: #667eea;
    background-color: #f8f9fa;
}
nav ul li a.active {
    background-color: #667eea;
    color: #ffffff;
    font-weight: 600;
}
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}
.detail-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}
.detail-header {
    padding: 32px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}
.detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    
}
.detail-header h1 {
    font-size: 26px;
    margin-bottom: 16px;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #64748b;
}
.detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}
.detail-meta span i {
    color: #3b82f6;
}
.detail-body {
    padding: 32px;
}
.detail-section {
    margin-bottom: 32px;
}
.detail-section h3 {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-section h3::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}
.detail-section p {
    color: #475569;
    line-height: 1.8;
    font-size: 14px;
}
.download-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}
.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    
}
.download-section h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
    border: none;
    cursor: pointer;
}
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    color: #fff;
}
.download-btn i {
    margin-right: 8px;
    font-size: 18px;
}
.download-info {
    margin-top: 16px;
    color: #94a3b8;
    font-size: 13px;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    padding: 8px 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.back-link:hover {
    color: #3b82f6;
    border-color: #3b82f6;
    background: #f8fafc;
}
footer {
    
    border-top: 1px solid #e2e8f0;
    padding: 2rem 0;
    margin-top: 2rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}
.footer-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #94a3b8;
}
.footer-content a {
    color: #667eea;
    text-decoration: none;
}
.footer-content a:hover {
    text-decoration: underline;
}
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    overflow: hidden;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.modal-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}
.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}
.modal-close:hover {
    background-color: #e2e8f0;
    color: #475569;
}
.modal-body {
    padding: 1.5rem;
}
.modal-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}
.qrcode-section {
    flex-shrink: 0;
}
.qrcode-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.info-text {
    flex: 1;
}
.info-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}
.info-steps {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.keyword {
    font-weight: 600;
    color: #667eea;
    background-color: #f8fafc;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}
.input-section {
    margin-top: 1rem;
}
.input-section input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    background-color: #f8fafc;
}
.input-section input:focus {
    border-color: #667eea;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.error-message {
    margin-top: 0.75rem;
    color: #ef4444;
    font-size: 0.875rem;
    min-height: 1.25rem;
}
.modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
}
.modal-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.cancel-btn {
    background-color: #f1f5f9;
    color: #64748b;
}
.cancel-btn:hover {
    background-color: #e2e8f0;
    color: #475569;
}
.confirm-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.confirm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 12px;
    }
    .detail-header {
        padding: 24px;
    }
    .detail-header h1 {
        font-size: 22px;
    }
    .detail-body {
        padding: 24px;
    }
    .download-btn {
        padding: 12px 36px;
        font-size: 14px;
    }
    .detail-meta {
        gap: 12px;
    }
    .detail-meta span {
        padding: 4px 10px;
        font-size: 12px;
    }
    .modal-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .qrcode-img {
        width: 100px;
        height: 100px;
    }
    .info-text {
        width: 100%;
    }
    .info-title {
        text-align: center;
    }
    .info-steps {
        text-align: center;
    }
}

